]> git.mxchange.org Git - friendica.git/blobdiff - view/head.tpl
new notification module working for "email message received"
[friendica.git] / view / head.tpl
index 752915b14620c92f844f5704e924dfa7d2689725..9fe5a63b3b0ac24d78bb02010ef5e49f48c6035a 100644 (file)
@@ -28,6 +28,8 @@
 <script type="text/javascript" src="$baseurl/js/main.js" ></script>
 <script>
 
+       var updateInterval = $update_interval;
+
        function confirmDelete() { return confirm("$delitem"); }
        function commentOpen(obj,id) {
                if(obj.value == '$comment') {
                }
        }
 
+       function showHideComments(id) {
+               if( $('#collapsed-comments-' + id).is(':visible')) {
+                       $('#collapsed-comments-' + id).hide();
+                       $('#hide-comments-' + id).html('$showmore');
+               }
+               else {
+                       $('#collapsed-comments-' + id).show();
+                       $('#hide-comments-' + id).html('$showfewer');
+               }
+       }
+
+
 </script>