mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-24 07:23:41 +00:00
d006c26f65
The method is only called from two places, and both do very similar things before the call. This duplication can be merged. One notable difference is that .scrollLeft() was possibly called twice before. The first call was pointless anyway. The argument for .scrollLeft() is absolute, not relative. This code cleanup is motivated by T352169, but doesn't solve it. Bug: T352169 Change-Id: I75e9ffc77ef6331f14e074921c78c28233e60840 |
||
---|---|---|
.. | ||
.eslintrc.json | ||
ext.RevisionSlider.Api.js | ||
ext.RevisionSlider.DiffPage.js | ||
ext.RevisionSlider.HelpButtonView.js | ||
ext.RevisionSlider.HelpDialog.js | ||
ext.RevisionSlider.init.js | ||
ext.RevisionSlider.lazy.js | ||
ext.RevisionSlider.lazy.less | ||
ext.RevisionSlider.less | ||
ext.RevisionSlider.noscript.css | ||
ext.RevisionSlider.Pointer.js | ||
ext.RevisionSlider.PointerLine.js | ||
ext.RevisionSlider.PointerView.js | ||
ext.RevisionSlider.Revision.js | ||
ext.RevisionSlider.RevisionList.js | ||
ext.RevisionSlider.RevisionListView.js | ||
ext.RevisionSlider.Settings.js | ||
ext.RevisionSlider.Slider.js | ||
ext.RevisionSlider.SliderArrowView.js | ||
ext.RevisionSlider.SliderView.js | ||
ext.RevisionSlider.util.js |