]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/testbubble/theme.php
Merge https://github.com/friendica/friendica into pull
[friendica.git] / view / theme / testbubble / theme.php
index 87ce4dd7355d3378bf5013d673d122975d1a209b..366a4718cc6986bb2224afa4d149bfa577e3ff62 100644 (file)
@@ -7,3 +7,17 @@
  * Author: Devlon Duthied
  * Maintainer: Mike Macgirvin <mike@macgirvin.com>
  */
+
+
+function testbubble_init(&$a) {
+set_template_engine($a, 'smarty3');
+
+$a->page['htmlhead'] .= <<< EOT
+<script>
+$(document).ready(function() {
+
+$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
+});
+</script>
+EOT;
+}