Permalink
Browse files

Check for Shizzle off the window to avoid an error if its not there...

  • Loading branch information...
1 parent 966bbae commit 05648d5e7393226dd0e7c4676cccaa3905f30821 @johnboxall committed Apr 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/base.js
View
@@ -70,7 +70,7 @@
});
} else {
// one selector, check if Sizzle is available and use it instead of querySelectorAll.
- if (Sizzle !== undefined) {
+ if (window.Sizzle !== undefined) {
ele = Sizzle(q);
} else {
ele = context.querySelectorAll(q);

0 comments on commit 05648d5

Please sign in to comment.