From d0223c5f9c9dc316e92aa53c314f6a32920dd948 Mon Sep 17 00:00:00 2001 From: trung nguyen thanh Date: Tue, 4 Apr 2017 18:30:06 +0700 Subject: [PATCH] IE 11 bug --- index.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.htm b/index.htm index 6238e89..13656a0 100644 --- a/index.htm +++ b/index.htm @@ -1976,7 +1976,7 @@ return this.value; // $(this).val() }).get(); function countInArray(array, what) { - return array.filter(item => item == what).length; + return array.filter(function(item) { return item == what;}).length; } var result = false; var currentVal = $(element).val();