[Pkg-javascript-commits] [dojo] 19/21: Add Trident UA to match every other UA

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:54 UTC 2014


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

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

commit 769bfce2141826ed873d3eba3302227a08a43052
Author: Colin Snover <github.com at zetafleet.com>
Date:   Fri Nov 29 21:17:49 2013 +0000

    Add Trident UA to match every other UA
    
    Refs #17311
    
    (cherry picked from commit bbe72ecd13f5604802b2498f3623e7c5961069f4)
---
 window.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/window.js b/window.js
index c9d24b2..3505087 100644
--- a/window.js
+++ b/window.js
@@ -134,7 +134,7 @@ define(["./_base/lang", "./sniff", "./_base/window", "./dom", "./dom-geometry",
 					isWK = has("webkit");
 				// if an untested browser, then use the native method
 				if(node == body || node == html){ return; }
-				if(!(has("mozilla") || isIE || isWK || has("opera")) && ("scrollIntoView" in node)){
+				if(!(has("mozilla") || isIE || isWK || has("opera") || has("trident")) && ("scrollIntoView" in node)){
 					node.scrollIntoView(false); // short-circuit to native if possible
 					return;
 				}

-- 
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