From c999f619b48548896fc5dca0b98e47a3f79f6f8a Mon Sep 17 00:00:00 2001 From: Gordon Koo Date: Tue, 28 Aug 2012 11:13:01 -0700 Subject: [PATCH] fixed a bug on flip. (flip not implemented on jquery version yet) --- js/hopscotch.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/hopscotch.js b/js/hopscotch.js index eaf0c36a..18459b19 100644 --- a/js/hopscotch.js +++ b/js/hopscotch.js @@ -669,6 +669,9 @@ else { utils.removeClass(self.element, 'hide'); utils.addClass(self.element, className); + setTimeout(function() { + utils.removeClass(self.element, 'invisible'); + }, 50); } isShowing = true; return this; @@ -1092,7 +1095,6 @@ } } - utils.addClass(bubble.element, 'invisible'); self.showStep(currStepNum, currSubstepNum); return this;