From d0772c282fe0f614ab8c1988b55952649b5422ff Mon Sep 17 00:00:00 2001 From: Zen4All Date: Sun, 5 Jan 2020 21:27:43 +0100 Subject: [PATCH] remove extra "document ready" function --- .../templates/YOUR_TEMPLATE/jscript/jscript_compareProducts.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/1_Installation_files/includes/templates/YOUR_TEMPLATE/jscript/jscript_compareProducts.php b/1_Installation_files/includes/templates/YOUR_TEMPLATE/jscript/jscript_compareProducts.php index 250f2ea..5a0bae0 100644 --- a/1_Installation_files/includes/templates/YOUR_TEMPLATE/jscript/jscript_compareProducts.php +++ b/1_Installation_files/includes/templates/YOUR_TEMPLATE/jscript/jscript_compareProducts.php @@ -43,9 +43,7 @@ function compare(productId, action) { $(document).ready(function () { $('#filter-wrapper').after(compareResultDiv); - }); - $(document).ready(function () { let javascriptCompareProductsArray = '';