diff --git a/content/mappings.js b/content/mappings.js index 3ef16a19..ea84fbc7 100644 --- a/content/mappings.js +++ b/content/mappings.js @@ -51,7 +51,7 @@ liberator.Map.prototype = { hasName: function (name) { - return this.names.some(function (e) e == name); + return this.names.indexOf(name) >= 0; }, execute: function (motion, count, argument)