Fix some HTML validation issue.
This commit is contained in:
parent
48a3a317bc
commit
b92e1b0584
6 changed files with 65 additions and 89 deletions
|
@ -87,6 +87,7 @@
|
|||
var bottom = getStyle( el, 'bottom' );
|
||||
var right = getStyle( el, 'right' );
|
||||
var width = el.old_width;
|
||||
var height;
|
||||
if( ! width ) {
|
||||
width = getStyle( el, 'width' );
|
||||
}
|
||||
|
@ -98,7 +99,7 @@
|
|||
if( el.offsetParent.nodeName == 'BODY' || el.offsetParent.nodeName == 'HTML' ) {
|
||||
if( typeof( window.innerWidth ) == 'number' ) {
|
||||
pwidth = window.innerWidth;
|
||||
height = window.innerHeight;
|
||||
pheight = window.innerHeight;
|
||||
} else if( document.documentElement &&
|
||||
( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
|
||||
pwidth = document.documentElement.clientWidth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue