aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/footer.tpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--themes/smartpocket/template/footer.tpl3
1 files changed, 3 insertions, 0 deletions
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 @@
</h6>
</div>
{/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'}
</div><!-- /page -->