dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Fix escaping of i18n message shared-repo-from"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.rcfilters
/
ui
/
mw.rcfilters.ui.RcTopSectionWidget.js
diff --git
a/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.RcTopSectionWidget.js
b/resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.RcTopSectionWidget.js
index
f0e1241
..
ca76046
100644
(file)
--- a/
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.RcTopSectionWidget.js
+++ b/
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.RcTopSectionWidget.js
@@
-33,7
+33,6
@@
} );
this.$topLinks
} );
this.$topLinks
- .addClass( 'mw-rcfilters-ui-ready' )
.makeCollapsible( {
collapsed: topLinksCookieValue === 'collapsed',
$customTogglers: toplinksTitle.$element
.makeCollapsible( {
collapsed: topLinksCookieValue === 'collapsed',
$customTogglers: toplinksTitle.$element
@@
-63,7
+62,6
@@
this.$element
.addClass( 'mw-rcfilters-ui-rcTopSectionWidget' )
.append(
this.$element
.addClass( 'mw-rcfilters-ui-rcTopSectionWidget' )
.append(
- this.$top,
$( '<div>' )
.addClass( 'mw-rcfilters-ui-table' )
.append(
$( '<div>' )
.addClass( 'mw-rcfilters-ui-table' )
.append(
@@
-84,6
+82,9
@@
)
);
)
);
+ // Hack: For jumpiness reasons, this should be a sibling of -head
+ $( '.rcfilters-head' ).before( this.$top );
+
// Initialize top links position
widget.switchTopLinks( topLinksCookieValue );
};
// Initialize top links position
widget.switchTopLinks( topLinksCookieValue );
};