Permalink
Browse files

Don't use the native IE9 msMatchesSelector because it is awfully bugg…

…y in IE9 RC and I don't trust them enough to fix it until the final. If they do we can add support for it again in 1.3.2.
  • Loading branch information...
1 parent cee4e50 commit 37e200e6ff57a7044e30b7b53d1ece8699917fe5 @cpojer cpojer committed Feb 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Slick/Slick.Finder.js
@@ -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.mozMatchesSelector || root.webkitMatchesSelector;
if (features.nativeMatchesSelector) try {
// if matchesSelector trows errors on incorrect sintaxes we can use it
features.nativeMatchesSelector.call(root, ':slick');

0 comments on commit 37e200e

Please sign in to comment.