Permalink
Browse files

Fix: make guiders.hideAll work always.

  • Loading branch information...
1 parent 4709299 commit 36dd2092d75e1c13c73fdff6c785bd7b5b580081 @giorgian giorgian committed May 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 guiders-1.2.3.js
View
@@ -357,7 +357,7 @@ var guiders = (function($) {
});
$(".guider").fadeOut("fast");
var currentGuider = guiders._guiders[guiders._currentGuiderID];
- if (currentGuider.highlight) {
+ if (currentGuider && currentGuider.highlight) {
guiders._dehighlightElement(currentGuider.highlight);
}
if (typeof omitHidingOverlay !== "undefined" && omitHidingOverlay === true) {

0 comments on commit 36dd209

Please sign in to comment.