Permalink
Browse files

Corrected left mouse button detection for pre-IE9 (fixes #2836).

  • Loading branch information...
pjackson28 committed Aug 16, 2013
1 parent bffb013 commit d67ad0771362b0852a60bfa4744d56179b77c9fd
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/js/pe-ap.js
View
@@ -54,7 +54,7 @@
resizetest: '',
settings: (typeof wet_boew_properties !== 'undefined' && wet_boew_properties !== null) ? wet_boew_properties : false,
scrollTopInit: 0,
leftMouseButton: 0, // e.button is 0 in most browsers and 1 in IE8 and under
leftMouseButton: 0,
/**
* @namespace pe.dic
@@ -151,9 +151,6 @@
}
}
}
// What is the e.button value for the left mouse button?
pe.leftMouseButton = (pe.preIE9 ? 1 : 0);
// Determine the page language and if the text direction is right to left (rtl)
test = $html.attr('lang');

0 comments on commit d67ad07

Please sign in to comment.