mediawiki-extensions-Revisi.../modules
thiemowmde d2b03abe43 Remove redundant checks for .offset() !== undefined
We added this more as an experiment because we couldn't reliably
figure out what makes later .offset() calls fail. After looking into
the actual jQuery source code I realized the only way .offset() can
return undefined is when .length is zero. Which means the two checks
are redundant and one can be removed.

In case an element is not attached to the document an object with
{ top: 0, left: 0 } is returned.

Bug: T342556
Change-Id: I6265fd27b3102a9cfe853a9c0e11063b76cf0b7b
2023-11-06 22:14:58 +01:00
..
.eslintrc.json Migrate JS to ES6 2023-06-23 08:01:31 +02:00
ext.RevisionSlider.Api.js Drop wikitext comment in favor of parsedcomment 2023-08-25 14:42:32 +02:00
ext.RevisionSlider.DiffPage.js Mark private methods with @private tags 2023-10-26 14:05:12 +02:00
ext.RevisionSlider.HelpButtonView.js Migrate JS to ES6 2023-06-23 08:01:31 +02:00
ext.RevisionSlider.HelpDialog.js Make use of jQuery.append() accepting multiple arguments 2023-08-25 14:39:39 +02:00
ext.RevisionSlider.init.js Cleanup minor code duplication/complication in various places 2023-10-26 13:46:16 +02:00
ext.RevisionSlider.lazy.js Don't add keypress handler when not needed 2023-08-28 06:10:06 +00:00
ext.RevisionSlider.lazy.less Make use of Codex LESS tokens where possible 2023-08-30 17:54:59 +02:00
ext.RevisionSlider.less Make .less code a little more compact 2023-10-23 14:31:09 +02:00
ext.RevisionSlider.noscript.css Convert the few instances of IDs to classes 2016-08-10 15:32:12 -07:00
ext.RevisionSlider.Pointer.js Migrate JS to ES6 2023-06-23 08:01:31 +02:00
ext.RevisionSlider.PointerLine.js Remove redundant checks for .offset() !== undefined 2023-11-06 22:14:58 +01:00
ext.RevisionSlider.PointerView.js Merge "Mark private methods with @private tags" 2023-10-26 12:22:38 +00:00
ext.RevisionSlider.Revision.js Cleanup minor code duplication/complication in various places 2023-10-26 13:46:16 +02:00
ext.RevisionSlider.RevisionList.js Partly drop dependency from RevisionListView to RevisionList 2023-10-26 13:58:59 +02:00
ext.RevisionSlider.RevisionListView.js Merge "Mark private methods with @private tags" 2023-10-26 12:22:38 +00:00
ext.RevisionSlider.Settings.js Mark private methods with @private tags 2023-10-26 14:05:12 +02:00
ext.RevisionSlider.Slider.js Clamp slider position when using the browser's back button 2023-10-25 15:03:44 +02:00
ext.RevisionSlider.SliderArrowView.js Mark private methods with @private tags 2023-10-26 14:05:12 +02:00
ext.RevisionSlider.SliderView.js Merge "Mark private methods with @private tags" 2023-10-26 12:22:38 +00:00
ext.RevisionSlider.util.js Replace switch with a map in util class 2023-08-24 10:59:26 +02:00