Follow-up Ic67a6f1af: RCFilters: Untypo the recurring namespaces typo
authorMoriel Schottlender <moriel@gmail.com>
Tue, 2 Jan 2018 20:23:25 +0000 (12:23 -0800)
committerMoriel Schottlender <moriel@gmail.com>
Tue, 2 Jan 2018 20:23:25 +0000 (12:23 -0800)
The param name is namespace, not namespaces. Do keep up, Schottlender.

Bug: T183910
Change-Id: Ib14a3918a85c22ddd2121c8dcc709ab53b5ff63f

resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.SavedQueriesModel.js

index 8c9fe65..77d5961 100644 (file)
                                normalizedData.params = model.filtersModel.removeStickyParams( normalizedData.params );
 
                                // Correct the invert state for effective selection
-                               if ( normalizedData.params.invert && !normalizedData.params.namespaces ) {
+                               if ( normalizedData.params.invert && !normalizedData.params.namespace ) {
                                        delete normalizedData.params.invert;
                                }