Navigation Menu

Skip to content

Commit

Permalink
Disable the use of buggy msMatchesSelector. This should be enabled ag…
Browse files Browse the repository at this point in the history
…ain in a future release, when it is certain that IE9 msMatchesSelector actually works.
  • Loading branch information
cpojer committed Feb 23, 2011
1 parent 77ac4ec commit 59af8ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Slick.Finder.js
Expand Up @@ -162,7 +162,7 @@ local.setDocument = function(document){

// native matchesSelector function

features.nativeMatchesSelector = root.matchesSelector || root.msMatchesSelector || root.mozMatchesSelector || root.webkitMatchesSelector;
features.nativeMatchesSelector = root.matchesSelector || /*root.msMatchesSelector ||*/ root.mozMatchesSelector || root.webkitMatchesSelector;
if (features.nativeMatchesSelector) try {
// if matchesSelector trows errors on incorrect sintaxes we can use it
features.nativeMatchesSelector.call(root, ':slick');
Expand Down Expand Up @@ -878,7 +878,7 @@ local.attributeGetters = {

var Slick = local.Slick = (this.Slick || {});

Slick.version = '1.1.4';
Slick.version = '1.1.5';

// Slick finder

Expand Down

0 comments on commit 59af8ac

Please sign in to comment.