[Pkg-javascript-commits] [dojo] 47/87: Fix feature detection for switching mouse click constants, fixes #15404 !strict

David Prévot taffit at moszumanska.debian.org
Thu Aug 21 17:39:20 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 5af4fc9e4759cf4d934710a20beec9aec1e1e484
Author: Kris Zyp <kriszyp at gmail.com>
Date:   Wed Sep 26 21:27:01 2012 +0000

    Fix feature detection for switching mouse click constants, fixes #15404 !strict
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.7/dojo@29714 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 mouse.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mouse.js b/mouse.js
index 9d47f82..89c3b12 100644
--- a/mouse.js
+++ b/mouse.js
@@ -33,7 +33,7 @@ define(["./_base/kernel", "./on", "./has", "./dom", "./_base/window"], function(
  	has.add("events-mouseenter", win.doc && "onmouseenter" in win.doc.createElement("div"));
 
 	var mouseButtons;
-	if(has("dom-quirks") || !has("dom-addeventlistener")){
+	if((has("dom-quirks") && has("ie")) || !has("dom-addeventlistener")){
 		mouseButtons = {
 			LEFT:   1,
 			MIDDLE: 4,

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