Permalink
Browse files

fix exception in _attach when no current guider

If resize fires before the current guider is fully shown myGuider is
"undefined" which doesn't match null
  • Loading branch information...
1 parent 5944133 commit dbc29d95b0e9e1503767c00a13bee33e7901de74 @dbellizzi dbellizzi committed Jun 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guiders-1.2.6.js
View
@@ -135,7 +135,7 @@ var guiders = (function($) {
};
guiders._attach = function(myGuider) {
- if (myGuider === null) {
+ if (typeof myGuider !== 'object') {
return;
}

0 comments on commit dbc29d9

Please sign in to comment.