mediawiki-extensions-Visual.../modules/ve-mw/init
Bartosz Dziewoński 81d567bfdc ve.init.mw.DesktopArticleTarget: Fix the code to reorder tabs
This code is meant to fix up the tabs if wgVisualEditorTabPosition
was changed and we're seeing cached HTML with the tabs in wrong order.
But it seems it has never worked. `$caEdit[ 0 ].nextSibling` is a text
node and obviously not equal to `$caVeEdit[ 0 ]`, and vice versa for
the other case. The logic is actually correct, so let's fix it to skip
over text nodes.

Also, remove a stray 'eslint-enable' comment left over in
a0f934ed26.

Bug: T50017
Change-Id: I23663a9bfcfdbf52918452c878a128e6960b1191
2017-09-28 15:54:55 +02:00
..
styles Fix font size in local overlays in monobook 2017-09-21 15:46:26 +01:00
targets ve.init.mw.DesktopArticleTarget: Fix the code to reorder tabs 2017-09-28 15:54:55 +02:00
ve.init.mw.ApiResponseCache.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.mw.ArticleTarget.js Replace wg(Relevant)PageName with target#pageName 2017-09-26 13:22:00 +01:00
ve.init.mw.ArticleTargetEvents.js ArticleTarget: Give users a specific message when HookAborted errors happen 2017-01-11 10:46:30 -08:00
ve.init.mw.ArticleTargetLoader.js Enable preload in VisualEditor 2017-09-15 17:17:51 -05:00
ve.init.mw.DiffLoader.js Change ArticleTargetLoader#requestPageData API to use options object 2017-09-13 12:57:37 +01:00
ve.init.mw.DiffPage.init.js Move historical diff loading to DiffLoader util 2017-08-13 15:31:42 -04:00
ve.init.mw.GalleryImageInfoCache.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.mw.ImageInfoCache.js Return truthy object when image info not found 2017-07-03 18:01:33 +00:00
ve.init.mw.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.mw.LinkCache.js Display LanguageConverter markup in VisualEditor 2017-07-25 15:26:41 +00:00
ve.init.mw.Platform.init.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.mw.Platform.js Don't try to i18n-parse JSON string 2017-06-06 11:12:41 +01:00
ve.init.mw.Target.js Add mw-parser-output class to CE document 2017-07-17 18:04:52 +01:00
ve.init.mw.trackSubscriber.js build: Upgrade grunt-eslint from 19.0.0 to 20.0.0 2017-07-18 12:55:33 +01:00
ve.init.MWEditingTabDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.MWEditModeTool.js EditModeTool: Use state-describing, not action-describing labels 2017-04-26 11:33:14 -07:00
ve.init.MWVESwitchConfirmDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
ve.init.MWVESwitchPopupWidget.js Use list tool group for editor switching 2017-02-28 15:06:48 +00:00
ve.init.MWWelcomeDialog.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00