$.fn.innerHeight = function() {\r
return this.get(0) == window || this.get(0) == document ?
this.height() :
- this.get(0).offsetHeight - parseInt(this.css("borderTop")) - parseInt(this.css("borderBottom"));\r
+ this.get(0).offsetHeight - parseInt(this.css("borderTop") || 0) - parseInt(this.css("borderBottom") || 0);\r
};
\r
/**\r
$.fn.innerWidth = function() {\r
return this.get(0) == window || this.get(0) == document ?
this.width() :
- this.get(0).offsetWidth - parseInt(this.css("borderLeft")) - parseInt(this.css("borderRight"));\r
+ this.get(0).offsetWidth - parseInt(this.css("borderLeft") || 0) - parseInt(this.css("borderRight") || 0);\r
};
\r
/**\r