Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8368562ed0 | |||
| 9a8f5517b6 |
+1
-1
@@ -13,7 +13,7 @@ You can report a bug or request a feature by opening an issue.
|
||||
]]></description>
|
||||
<licence>agpl</licence>
|
||||
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
|
||||
<version>1.6.1</version>
|
||||
<version>1.6.2</version>
|
||||
<namespace>SideMenu</namespace>
|
||||
<category>customization</category>
|
||||
<website>https://gitnet.fr/deblan/side_menu</website>
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
}
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($_['opener-only'] === true): ?>
|
||||
#nextcloud {
|
||||
display: none;
|
||||
|
||||
@@ -73,6 +73,8 @@
|
||||
<?php if ($_['external-sites-in-top-menu']): ?>
|
||||
sideMenuContainer.attr('data-externalsitesintopmenu', '1')
|
||||
|
||||
var menuCache = null
|
||||
|
||||
var updateTopMenu = function() {
|
||||
var breakpointMobileWidth = 1024
|
||||
var menu = $('#appmenu')
|
||||
@@ -87,6 +89,12 @@
|
||||
var navigationApps = $('#apps ul')
|
||||
var appCount = null
|
||||
|
||||
var currentMenuCache = menu.html() + menu.next().html()
|
||||
|
||||
if (currentMenuCache === menuCache) {
|
||||
return
|
||||
}
|
||||
|
||||
navigationApps.html('')
|
||||
|
||||
apps.each(function(i, app) {
|
||||
@@ -175,6 +183,8 @@
|
||||
} else {
|
||||
moreApps.show()
|
||||
}
|
||||
|
||||
menuCache = menu.html() + menu.next().html()
|
||||
}
|
||||
|
||||
setInterval(updateTopMenu, 50)
|
||||
|
||||
Reference in New Issue
Block a user