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:
Vincent Petry 2014-06-10 17:14:49 +02:00
parent ecc41fe0c3
commit 015c5062e5

View file

@ -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({