diff --git a/themes/smartpocket/template/footer.tpl b/themes/smartpocket/template/footer.tpl index bfae6c062..762fba511 100644 --- a/themes/smartpocket/template/footer.tpl +++ b/themes/smartpocket/template/footer.tpl @@ -14,6 +14,9 @@ {/if} +{footer_script require='jquery'} +document.cookie = 'screen_size='+jQuery(document).width()+'x'+jQuery(document).height()+';path={$COOKIE_PATH}'; +{/footer_script} {get_combined_scripts load='footer'} diff --git a/themes/smartpocket/template/mainpage_categories.tpl b/themes/smartpocket/template/mainpage_categories.tpl index 54a99ba4d..d1cf3cf8b 100644 --- a/themes/smartpocket/template/mainpage_categories.tpl +++ b/themes/smartpocket/template/mainpage_categories.tpl @@ -1,10 +1,8 @@ -{define_derivative name='derivative_params_square' type='square'} -