From d8bf56bf890646526ddb01127b57a2e8f4b8c662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20Tisza?= Date: Thu, 10 Apr 2014 01:24:21 +0000 Subject: [PATCH] Fix tipsy bug, part 2 Change-Id: Ie3bf54c1f5e550b86bf29151ed14be36ad63bee0 --- resources/mmv/ui/mmv.ui.stripeButtons.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/resources/mmv/ui/mmv.ui.stripeButtons.js b/resources/mmv/ui/mmv.ui.stripeButtons.js index d2af4035e..d864a6a45 100644 --- a/resources/mmv/ui/mmv.ui.stripeButtons.js +++ b/resources/mmv/ui/mmv.ui.stripeButtons.js @@ -345,11 +345,13 @@ buttons.$reuse.removeClass( 'open' ); } ); - this.readyToShowFeedbackTooltip = false; - this.setTimer( 'feedbackTooltip.show', function () { - this.readyToShowFeedbackTooltip = true; - this.maybeDisplayTooltip(); - }, this.feedbackSettings.tooltipDelay * 1000 ); + if ( this.shouldShowFeedbackSurvey() ) { + this.readyToShowFeedbackTooltip = false; + this.setTimer( 'feedbackTooltip.show', function () { + this.readyToShowFeedbackTooltip = true; + this.maybeDisplayTooltip(); + }, this.feedbackSettings.tooltipDelay * 1000 ); + } }; /**