IE 11 bug

This commit is contained in:
trung nguyen thanh 2017-04-04 18:30:06 +07:00
parent e319940937
commit d0223c5f9c
1 changed files with 1 additions and 1 deletions

View File

@ -1976,7 +1976,7 @@
return this.value; // $(this).val() return this.value; // $(this).val()
}).get(); }).get();
function countInArray(array, what) { function countInArray(array, what) {
return array.filter(item => item == what).length; return array.filter(function(item) { return item == what;}).length;
} }
var result = false; var result = false;
var currentVal = $(element).val(); var currentVal = $(element).val();