mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-09-25 11:17:24 +00:00
Stop showing the NavigationPopups options if it isn't available
This got committed by accident in I374805eed0bc9f262b29474093f0357c56b42c83 Change-Id: Ic2dba3bd3b488aea97d7f3be3a56cf9f44912355
This commit is contained in:
parent
7370f63296
commit
26962431c3
|
@ -46,7 +46,7 @@
|
|||
$saveButton.click( settings.save );
|
||||
|
||||
$radioGroup.append( settings.renderOption( 0, options[ 0 ], true ) );
|
||||
if ( true || settings.navPopEnabled ) { // FIXME
|
||||
if ( settings.navPopEnabled ) {
|
||||
$radioGroup.append( settings.renderOption( 1, options[ 1 ] ) );
|
||||
}
|
||||
$radioGroup.append( settings.renderOption( 2, options[ 2 ] ) );
|
||||
|
|
Loading…
Reference in a new issue