mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
d3824dee76
We were scrolling to the edited section when we saved the page, and otherwise reverting scroll position to the top if we just abandoned the edit. This unifies these cases, so any section-edit which leaves the editor will scroll to the section being edited. (If section==new and the edit is abandoned, it'll scroll to the last section on the page.) Bug: T194631 Change-Id: Ic2aca68b3127c435545644912b96212bcfa6648d |
||
---|---|---|
.. | ||
ve.init.mw.DesktopArticleTarget.init.js | ||
ve.init.mw.DesktopArticleTarget.js | ||
ve.init.mw.MobileArticleTarget.js |