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
mw.Map: Check presence of value argument in set()
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki
/
mediawiki.js
diff --git
a/resources/src/mediawiki/mediawiki.js
b/resources/src/mediawiki/mediawiki.js
index
ff7012f
..
e0e2963
100644
(file)
--- a/
resources/src/mediawiki/mediawiki.js
+++ b/
resources/src/mediawiki/mediawiki.js
@@
-191,7
+191,7
@@
}
return true;
}
- if ( typeof selection === 'string' && arguments.length ) {
+ if ( typeof selection === 'string' && arguments.length
> 1
) {
this.values[selection] = value;
return true;
}