mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-27 23:50:30 +00:00
Merge "Nested references should not trigger console warning"
This commit is contained in:
commit
9a4abda6e8
|
@ -35,7 +35,12 @@ module.exports = function () {
|
|||
onShow: function () {
|
||||
drawers.lockScroll();
|
||||
},
|
||||
onShowNestedReference: true,
|
||||
onBeforeHide: drawers.discardDrawer
|
||||
},
|
||||
function ( oldDrawer, newDrawer ) {
|
||||
oldDrawer.hide();
|
||||
drawers.displayDrawer( newDrawer, {} );
|
||||
}
|
||||
).then( function ( drawer ) {
|
||||
drawers.displayDrawer( drawer, {} );
|
||||
|
|
Loading…
Reference in a new issue