aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/theme.php
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-04-22 23:58:34 +0200
committertommy tomson <thomas.bierey@gmx.de>2012-04-22 23:58:34 +0200
commite74ae8b0310fd4b638ff5da674ba16b47fc5f294 (patch)
tree3be86f8d04c8a403995e0c19577a3150bd193d52 /view/theme/diabook/theme.php
parentd6c8a14fb0f56825b1f5f8dc4108a89d8aa583db (diff)
downloadvolse-hubzilla-e74ae8b0310fd4b638ff5da674ba16b47fc5f294.tar.gz
volse-hubzilla-e74ae8b0310fd4b638ff5da674ba16b47fc5f294.tar.bz2
volse-hubzilla-e74ae8b0310fd4b638ff5da674ba16b47fc5f294.zip
diabook-themes: bugfix
Diffstat (limited to 'view/theme/diabook/theme.php')
-rwxr-xr-xview/theme/diabook/theme.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php
index dee9c2890..269015d0a 100755
--- a/view/theme/diabook/theme.php
+++ b/view/theme/diabook/theme.php
@@ -357,6 +357,11 @@ $(document).ready(function() {
}
else $(this).attr("src",ifr_source+"?"+wmode);
});
+
+ $("a[href=#top]").click(function() {
+ $("html, body").animate({scrollTop:0}, "slow");
+ return false;
+ });
});