Index: trunk/extensions/SemanticForms/libs/SF_ajax_form_preview.js |
— | — | @@ -10,7 +10,7 @@ |
11 | 11 | |
12 | 12 | function ajaxFormPreviewInit(){ |
13 | 13 | |
14 | | - if ((mw.config.get( 'mw.config.get( 'wgNamespaceNumber' )' ) % 2 == 0) && /\.(js|css)$/.test(mw.config.get( 'wgTitle' ))) return; |
| 14 | + if ((mw.config.get( 'wgNamespaceNumber' ) % 2 == 0) && /\.(js|css)$/.test(mw.config.get( 'wgTitle' ))) return; |
15 | 15 | |
16 | 16 | if(!document.getElementById('wikiPreview')) return; |
17 | 17 | |