[Pkg-javascript-commits] [dojo] 74/87: 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:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.7.5
in repository dojo.

commit 25ce9180cd2ca56f81a0facdb575455b2046aabd
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.7/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 25b0fda..0534f40 100644
--- a/window.js
+++ b/window.js
@@ -87,7 +87,7 @@ 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