[Pkg-javascript-commits] [dojo] 24/32: Refs #15565. Backport [29051] to 1.6/1.7 to support IE 9/10. !strict
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.6.2
in repository dojo.
commit 9f091e5e356d4986dc0b2dfc0ee7ef791e326942
Author: Douglas Hays <doughays at dojotoolkit.org>
Date: Sat Jan 12 12:17:43 2013 +0000
Refs #15565. Backport [29051] to 1.6/1.7 to support IE 9/10. !strict
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.6/dojo@30339 560b804f-0ae3-0310-86f3-f6aa0a117693
---
window.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/window.js b/window.js
index 97cc3d5..f891eaf 100644
--- a/window.js
+++ b/window.js
@@ -54,7 +54,7 @@ dojo.window.scrollIntoView = function(/*DomNode*/ node, /*Object?*/ pos){
return;
}
var backCompat = doc.compatMode == 'BackCompat',
- clientAreaRoot = (isIE >= 9 && node.ownerDocument.parentWindow.frameElement)
+ clientAreaRoot = (isIE >= 9 && "frameElement" in node.ownerDocument.parentWindow)
? ((html.clientHeight > 0 && html.clientWidth > 0 && (body.clientHeight == 0 || body.clientWidth == 0 || body.clientHeight > html.clientHeight || body.clientWidth > html.clientWidth)) ? html : body)
: (backCompat ? body : html),
scrollRoot = isWK ? body : clientAreaRoot,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list