diff --git a/ui (gen4)/lib/util.js b/ui (gen4)/lib/util.js index d3732a98..a91e1006 100755 --- a/ui (gen4)/lib/util.js +++ b/ui (gen4)/lib/util.js @@ -97,7 +97,7 @@ Array.prototype.toMap = function(normalize){ // NOTE: for an array containing only strings use a much faster .uniqueStrings(..) // NOTE: this may not work on IE... Array.prototype.unique = function(normalize){ - return new Array(...(new Set(normalize ? normalize(this) : this))) } + return new Array(...(new Set(normalize ? this.map(normalize) : this))) } // Compare two arrays...