]> git.mxchange.org Git - friendica.git/commitdiff
"init" function for sidebar added
authorMichael <heluecht@pirati.ca>
Sat, 11 Jan 2020 09:10:22 +0000 (09:10 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 11 Jan 2020 09:10:22 +0000 (09:10 +0000)
view/templates/group_side.tpl

index 029a0464e25403e45a21d64c606b604851578d28..2aca4cdf455c26272df8fc23b4e59c4069710269 100644 (file)
@@ -1,4 +1,4 @@
-<span id="group-sidebar-inflated" class="widget fakelink" style="display: none;" onclick="openCloseWidget('group-sidebar', 'group-sidebar-inflated');">
+<span id="group-sidebar-inflated" class="widget fakelink" onclick="openCloseWidget('group-sidebar', 'group-sidebar-inflated');">
        <h3>{{$title}}</h3>
 </span>
 <div class="widget" id="group-sidebar">
@@ -43,5 +43,6 @@
 
        {{if $ungrouped}}<div id="sidebar-ungrouped"><a class="{{if $ungrouped_selected}}group-selected{{/if}}" href="nogroup">{{$ungrouped}}</a></div>{{/if}}
 </div>
-
-
+<script>
+initWidget('group-sidebar', 'group-sidebar-inflated');
+</script>