Skip to content

Commit

Permalink
Fix: make guiders.hideAll work always.
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgian committed May 9, 2012
1 parent 4709299 commit 36dd209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guiders-1.2.3.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 36dd209

Please sign in to comment.