]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/darkzero/theme.php
diabook-themes: comment-bbcode-bugfix
[friendica.git] / view / theme / darkzero / theme.php
index 5d63583f42ac3bbea15faf2b60a342560bb24196..bbba3ef740ccea9dbe5aae46fb48b21e18d6d9ee 100644 (file)
@@ -1,12 +1,24 @@
 <?php
+
+/*
+ * Name: Darkzero
+ * Version: 1.0
+ * 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');},
@@ -47,3 +59,4 @@ $('.savedsearchterm').hover(
 
 </script>
 EOT;
+}
\ No newline at end of file