aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/testbubble/theme.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-12 20:21:32 -0700
committerfriendica <info@friendica.com>2012-03-12 20:21:32 -0700
commitbf7425c591de360a97c37544f777d7d69791420c (patch)
tree0c49a617c83d11e645b6df2bea5bfcc1ccf7d093 /view/theme/testbubble/theme.php
parente12706e825a65f1c7da1d0eee7a346dbdd2c34a3 (diff)
downloadvolse-hubzilla-bf7425c591de360a97c37544f777d7d69791420c.tar.gz
volse-hubzilla-bf7425c591de360a97c37544f777d7d69791420c.tar.bz2
volse-hubzilla-bf7425c591de360a97c37544f777d7d69791420c.zip
click anywhere to close notifications -> zeros and bubbles
Diffstat (limited to 'view/theme/testbubble/theme.php')
-rw-r--r--view/theme/testbubble/theme.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/view/theme/testbubble/theme.php b/view/theme/testbubble/theme.php
index 87ce4dd73..591d9e066 100644
--- a/view/theme/testbubble/theme.php
+++ b/view/theme/testbubble/theme.php
@@ -7,3 +7,12 @@
* Author: Devlon Duthied
* Maintainer: Mike Macgirvin <mike@macgirvin.com>
*/
+
+$a->page['htmlhead'] .= <<< EOT
+<script>
+$(document).ready(function() {
+
+$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
+});
+</script>
+EOT;