"init" function for sidebar added

This commit is contained in:
Michael 2020-01-11 09:10:22 +00:00
parent 579fd2962e
commit f801e55d15

View 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>