Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / examples / init.js
index 3d25486..157d1fa 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.0.3
+ * Ext JS Library 3.1.0
  * Copyright(c) 2006-2009 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -109,7 +109,7 @@ Ext.onReady(function(){
         titleEl   = bodyEl.child('h3:first-child');
 
     var doResize = function() {
-        var windowHeight = Ext.getDoc().getViewSize().height;
+        var windowHeight = Ext.getDoc().getViewSize(false).height;
 
         var footerHeight  = footerEl.getHeight() + footerEl.getMargins().top,
             titleElHeight = titleEl.getHeight() + titleEl.getMargins().top,