Roo/bootstrap/Calendar.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 04:47:57 +0000 (12:47 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 04:47:57 +0000 (12:47 +0800)
Roo/bootstrap/Calendar.js

index 426365d..18677f8 100644 (file)
@@ -226,7 +226,8 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
     },
     resize : function() {
         var sz  = this.el.getSize();
-        this.el.select('.fc-day-header',true).setWidth(sz / 7);
+        
+        this.el.select('.fc-day-header',true).setWidth(sz.width / 7);
     }
    
 });