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.
This commit is contained in:
parent
ecc41fe0c3
commit
015c5062e5
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue