]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/darkzero/theme.php
diabook-themes: comment-bbcode-bugfix
[friendica.git] / view / theme / darkzero / theme.php
old mode 100755 (executable)
new mode 100644 (file)
index e03bcc7..bbba3ef
@@ -3,17 +3,22 @@
 /*
  * Name: Darkzero
  * Version: 1.0
- * Author: Mike Macgirvin <mike@macgirvin.com>
+ * Author: Fabio Communi <fabrix.xm@gmail.com>
+ * Maintainer: Fabio Communi <fabrix.xm@gmail.com>
+ * Maintainer: Mike Macgirvin <mike@macgirvin.com>
  */
 
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
 
+function darkzero_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
 <script>
 $(document).ready(function() {
 
+$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
+
 $('.group-edit-icon').hover(
        function() {
                $(this).addClass('icon'); $(this).removeClass('iconspacer');},
@@ -54,3 +59,4 @@ $('.savedsearchterm').hover(
 
 </script>
 EOT;
+}
\ No newline at end of file