diff --git a/ext/tag_editcloud/script.js b/ext/tag_editcloud/script.js index 8fb87a1e..71a9c287 100644 --- a/ext/tag_editcloud/script.js +++ b/ext/tag_editcloud/script.js @@ -1,8 +1,8 @@ -/*jshint bitwise:true, curly:true, forin:false, noarg:true, noempty:true, nonew:true, undef:true, strict:false, browser:true, jquery:true */ +/*jshint bitwise:true, curly:true, eqeqeq: false, forin:false, noarg:true, noempty:true, nonew:true, undef:true, strict:false, browser:true, jquery:true */ Array.prototype.editcloud_contains = function (ele) { for (var i = 0; i < this.length; i++) { - if (this[i] === ele) { + if (this[i] == ele) { return true; } } @@ -12,7 +12,7 @@ Array.prototype.editcloud_remove = function (ele) { var arr = []; var count = 0; for (var i = 0; i < this.length; i++) { - if (this[i] !== ele) { + if (this[i] != ele) { arr[count] = this[i]; count++; }