…this matches browsers' native behaviour.
Showing the changes to assets/javascripts/views (1 of 2 files). Show all
Unified · Split
| @@ -114,6 +114,7 @@ app.views.Content = class Content extends app.View { · 113 unmodified lines | ||
| 114 | 114 | $.scrollToWithImageLock(el, this.scrollEl, "top", { |
| 115 | 115 | margin: this.scrollEl === this.el ? 0 : $.offset(this.el).top, |
| 116 | 116 | }); |
| 117 | + $.openDetailsAncestors(el); | |
| 117 | 118 | $.highlight(el, { className: "_highlight" }); |
| 118 | 119 | } else { |
| 119 | 120 | this.scrollTo(this.scrollMap[this.routeCtx.state.id]); |