mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-12-11 06:56:09 +00:00
1b49469c96
I have seen this getting fed with fractional numbers like 38.9994375. This apparently happens when specific browser zooms are used, e.g. 110% in Google Chrome. There is a lot of code that expects this to be an integer number and stops working entirely when it isn't. I'm also updating two related comparisons to not be so extremely specific any more. This probably doesn't make a difference any more with the fix above, but can't hurt. This patch doesn't solve T352169, but is one more puzzle piece on the way to solve it. Bug: T352169 Change-Id: Ied0b9748beec941e901ca4ecba428c16967ca510 |
||
---|---|---|
.. | ||
.eslintrc.json | ||
QUnit.revisionSlider.testOrSkip.js | ||
RevisionSlider.DiffPage.test.js | ||
RevisionSlider.HelpDialog.test.js | ||
RevisionSlider.Pointer.test.js | ||
RevisionSlider.PointerView.test.js | ||
RevisionSlider.Revision.test.js | ||
RevisionSlider.RevisionList.test.js | ||
RevisionSlider.RevisionListView.test.js | ||
RevisionSlider.Slider.test.js | ||
RevisionSlider.SliderView.test.js |