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 "build: Update eslint-config-wikimedia"
[lhc/web/wiklou.git]
/
mw-config
/
config.js
diff --git
a/mw-config/config.js
b/mw-config/config.js
index
bb62067
..
99290f4
100644
(file)
--- a/
mw-config/config.js
+++ b/
mw-config/config.js
@@
-73,7
+73,9
@@
// Hide "other" textboxes by default
// Should not be done in CSS for javascript disabled compatibility
// Hide "other" textboxes by default
// Should not be done in CSS for javascript disabled compatibility
- $( '.enabledByOther' ).closest( '.config-block' ).hide();
+ if ( !$( '#config__NamespaceType_other' ).is( ':checked' ) ) {
+ $( '.enabledByOther' ).closest( '.config-block' ).hide();
+ }
// Enable/disable "other" textboxes
$( '.enableForOther' ).click( function () {
// Enable/disable "other" textboxes
$( '.enableForOther' ).click( function () {