Skip to content

Commit

Permalink
Fix feature detection for switching mouse click constants, fixes #154…
Browse files Browse the repository at this point in the history
…04 !strict
  • Loading branch information
kriszyp committed Sep 26, 2012
1 parent 9df8f9e commit c3c5ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mouse.js
Expand Up @@ -8,7 +8,7 @@ define(["./_base/kernel", "./on", "./has", "./dom", "./_base/window"], function(
has.add("events-mousewheel", win.doc && 'onmousewheel' in win.doc);

var mouseButtons;
if(has("dom-quirks") || !has("dom-addeventlistener")){
if((has("dom-quirks") && has("ie")) || !has("dom-addeventlistener")){
mouseButtons = {
LEFT: 1,
MIDDLE: 4,
Expand Down

0 comments on commit c3c5ac7

Please sign in to comment.