{if isset($left_column_size) && !empty($left_column_size)}
diff --git a/themes/default-bootstrap/js/products-comparison.js b/themes/default-bootstrap/js/products-comparison.js
index 5595d9f65..4efa99936 100644
--- a/themes/default-bootstrap/js/products-comparison.js
+++ b/themes/default-bootstrap/js/products-comparison.js
@@ -57,14 +57,12 @@ function addToCompare(productId){
}
function compareButtonsStatusRefresh(){
- $('.addToCompare').each(function() {
- console.log($(this).data('id-product'));
- if ($.inArray(parseInt($(this).data('id-product')),comparedProductsIds)!= -1){
+ $('.addToCompare').each(function()
+ {
+ if ($.inArray(parseInt($(this).data('id-product')),comparedProductsIds)!= -1)
$(this).addClass('checked');
- }
- else {
+ else
$(this).removeClass('checked');
- }
})
}
diff --git a/themes/default-bootstrap/modules/homeslider/homeslider.tpl b/themes/default-bootstrap/modules/homeslider/homeslider.tpl
index ae45844f4..c2df7b4d7 100644
--- a/themes/default-bootstrap/modules/homeslider/homeslider.tpl
+++ b/themes/default-bootstrap/modules/homeslider/homeslider.tpl
@@ -25,21 +25,6 @@
*}
{if $page_name =='index'}
-{if isset($homeslider)}
-
-{/if}
{if isset($homeslider_slides)}
@@ -54,6 +39,21 @@ var homeslider_pause = {$homeslider.pause};
{/foreach}
+{if isset($homeslider)}
+
+{/if}
{/if}
-{/if}
+{/if}
\ No newline at end of file