mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Merge pull request #15046 from nextcloud/backport/14972/stable15
[stable15] Disable the injected snapper logic when apps want to ship their own
This commit is contained in:
commit
96a981e930
1 changed files with 3 additions and 1 deletions
|
|
@ -1617,7 +1617,9 @@ function initCore() {
|
|||
setTimeout(resizeMenu, 0);
|
||||
|
||||
// just add snapper for logged in users
|
||||
if($('#app-navigation').length && !$('html').hasClass('lte9')) {
|
||||
// and if the app doesn't handle the nav slider itself
|
||||
if($('#app-navigation').length && !$('html').hasClass('lte9')
|
||||
&& !$('#app-content').hasClass('no-snapper')) {
|
||||
|
||||
// App sidebar on mobile
|
||||
var snapper = new Snap({
|
||||
|
|
|
|||
Loading…
Reference in a new issue