]> git.mxchange.org Git - friendica.git/commitdiff
click anywhere to close notifications -> zeros and bubbles
authorfriendica <info@friendica.com>
Tue, 13 Mar 2012 03:21:32 +0000 (20:21 -0700)
committerfriendica <info@friendica.com>
Tue, 13 Mar 2012 03:21:32 +0000 (20:21 -0700)
view/theme/darkbubble/theme.php
view/theme/darkzero-NS/theme.php
view/theme/darkzero/theme.php
view/theme/duepuntozero/theme.php
view/theme/greenzero/theme.php
view/theme/purplezero/theme.php
view/theme/slackr/theme.php
view/theme/testbubble/theme.php

index 326c98bbdaa0f70426ef9d17c144437db96d7d4d..053730c21addff7f97963c0ae0f6dc14ebc72543 100755 (executable)
@@ -1,4 +1,22 @@
 <?php
+
+/*
+ * Name: Dark Bubble
+ * Version: 1.0
+ * Maintainer: Mike Macgirvin <mike@macgirvin.com>
+ */
+
+
 $a->theme_info = array(
   'extends' => 'testbubble',
 );
+
+
+$a->page['htmlhead'] .= <<< EOT
+<script>
+$(document).ready(function() {
+
+$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
+});
+</script>
+EOT;
index 521b1859e985087f412f8e03510259c86f20945c..2d3e4fd56e266219c637a50296adf730a90dc6e0 100755 (executable)
@@ -15,6 +15,8 @@ $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');},
index 839d862a18575c7fe423cb480bd3bad7aacdaa8c..8c4d3e9ac34f729a417ab0a81887d66e2d0f0a13 100755 (executable)
@@ -16,6 +16,8 @@ $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');},
index 7d919fedc85a3d8cca522a3edc60e55e7c94622f..701fb134918df80fb101b77e7a2c648131a16863 100755 (executable)
@@ -5,6 +5,8 @@ $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');},
index 5d63583f42ac3bbea15faf2b60a342560bb24196..ceec4dd97640c3a5b4f1224f4df94ce63a9bfeee 100755 (executable)
@@ -7,6 +7,8 @@ $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');},
index 5d63583f42ac3bbea15faf2b60a342560bb24196..ceec4dd97640c3a5b4f1224f4df94ce63a9bfeee 100755 (executable)
@@ -7,6 +7,8 @@ $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');},
index 5d63583f42ac3bbea15faf2b60a342560bb24196..ceec4dd97640c3a5b4f1224f4df94ce63a9bfeee 100755 (executable)
@@ -7,6 +7,8 @@ $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');},
index 87ce4dd7355d3378bf5013d673d122975d1a209b..591d9e066b2c91a52b1ce9300f404dc87c04bb61 100644 (file)
@@ -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;