diff --git a/apps/common/main/lib/util/utils.js b/apps/common/main/lib/util/utils.js index 5e2c104a9..65583fd4b 100644 --- a/apps/common/main/lib/util/utils.js +++ b/apps/common/main/lib/util/utils.js @@ -154,9 +154,12 @@ Common.Utils = _.extend(new(function() { me.zoom = 1; me.innerWidth = window.innerWidth; me.innerHeight = window.innerHeight; - if ( isIE ) $(document.body).addClass('ie'); - checkSize(); - $(window).on('resize', checkSize); + if ( isIE ) + $(document.body).addClass('ie'); + else { + checkSize(); + $(window).on('resize', checkSize); + } return { checkSize: checkSize,