diff --git a/qui/classes/QUI.js b/qui/classes/QUI.js index 2d50d6f1f90ed40f259b89a61b70e31002501e7b..76854fe43a66583bb2b0243318b7ecf7b3220f3c 100644 --- a/qui/classes/QUI.js +++ b/qui/classes/QUI.js @@ -106,7 +106,7 @@ define('qui/classes/QUI', [ win.requestAnimationFrame(function () { Ghost.setStyle('display', null); - this.$winSize = win.getSize(); + this.$winSize = Ghost.getSize(); Ghost.setStyle('display', 'none'); this.$winScroll = win.getScroll(); @@ -128,7 +128,7 @@ define('qui/classes/QUI', [ } Ghost.setStyle('display', null); - this.$winSize = win.getSize(); + this.$winSize = Ghost.getSize(); Ghost.setStyle('display', 'none'); this.$winScroll = win.getScroll(); @@ -146,7 +146,7 @@ define('qui/classes/QUI', [ win.addEvent('domready', function () { Ghost.inject(document.body); Ghost.setStyle('display', null); - this.$winSize = win.getSize(); + this.$winSize = Ghost.getSize(); Ghost.setStyle('display', 'none'); this.$winScroll = win.getScroll();