mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Replace wg(Relevant)PageName with target#pageName 2017-09-26 13:22:00 +01:00
dm Replace wg(Relevant)PageName with target#pageName 2017-09-26 13:22:00 +01:00
i18n Localisation updates from https://translatewiki.net. 2017-09-27 22:44:25 +02:00
init ve.init.mw.DesktopArticleTarget: Fix the code to reorder tabs 2017-09-28 15:54:55 +02:00
tests Replace constructive with progressive UI flag 2017-09-26 15:14:32 -04:00
themes Align border and border-radius values 2017-08-16 14:05:55 -07:00
ui Unify monospace font family stack 2017-09-28 00:24:53 +02:00
ve.MWutils.js build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00