diff options
Diffstat (limited to 'resources/src/mediawiki.legacy/protect.js')
-rw-r--r-- | resources/src/mediawiki.legacy/protect.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/src/mediawiki.legacy/protect.js b/resources/src/mediawiki.legacy/protect.js index 3f4b263e..6226c90b 100644 --- a/resources/src/mediawiki.legacy/protect.js +++ b/resources/src/mediawiki.legacy/protect.js @@ -146,7 +146,7 @@ var ProtectionForm = window.ProtectionForm = { */ matchAttribute: function ( objects, attrName ) { return $.map( objects, function ( object ) { - return object[attrName]; + return object[ attrName ]; } ).filter( function ( item, index, a ) { return index === a.indexOf( item ); } ).length === 1; @@ -177,6 +177,7 @@ var ProtectionForm = window.ProtectionForm = { /** * Find the highest protection level in any selector + * * @return {number} */ getMaxLevel: function () { |