diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-06-10 17:14:49 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-06-10 17:14:49 +0200 |
commit | 015c5062e58571468ecbfa70f4316f92b134a00d (patch) | |
tree | a5968daad8c5bd543cf0534650132f37a6209f23 /core/js/js.js | |
parent | ecc41fe0c3375022d2455fd563f91b2691bdd857 (diff) | |
download | nextcloud-server-015c5062e58571468ecbfa70f4316f92b134a00d.tar.gz nextcloud-server-015c5062e58571468ecbfa70f4316f92b134a00d.zip |
Disable snapper init for IE <= 9
Snapper doesn't work at all for IE8 and IE9 and messes up with the main
container layout when enabled.
This commits disables snapper for these browsers.
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index bc4d135f9a7..1d5219eff12 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1140,7 +1140,7 @@ function initCore() { setupMainMenu(); // just add snapper for logged in users - if($('#app-navigation').length) { + if($('#app-navigation').length && !$('html').hasClass('lte9')) { // App sidebar on mobile var snapper = new Snap({ |