mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 11:15:47 +01:00
Don't accept non-boolean options with 'no' prefixes.
This commit is contained in:
@@ -797,7 +797,7 @@ var Options = Module("options", {
|
|||||||
* {@link Map#extraInfo}).
|
* {@link Map#extraInfo}).
|
||||||
* @optional
|
* @optional
|
||||||
*/
|
*/
|
||||||
add: function (names, description, type, defaultValue, extraInfo) {
|
add: function add(names, description, type, defaultValue, extraInfo) {
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|
||||||
if (!extraInfo)
|
if (!extraInfo)
|
||||||
|
|||||||
Reference in New Issue
Block a user