From e5c574229f674a99afcd6934de4ea3c814cc0e9a Mon Sep 17 00:00:00 2001 From: drigato Date: Tue, 14 Jul 2015 11:51:50 -0400 Subject: [PATCH] SAAS-940: Provide usability hints to user fix hint message transitions --- airtime_mvc/public/js/airtime/common/common.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/airtime_mvc/public/js/airtime/common/common.js b/airtime_mvc/public/js/airtime/common/common.js index e03b0e87f..46c016bf3 100644 --- a/airtime_mvc/public/js/airtime/common/common.js +++ b/airtime_mvc/public/js/airtime/common/common.js @@ -172,12 +172,12 @@ function getUsabilityHint() { $hint_div.hide(); } else if (current_hint !== json) { // we only change the message if it is new - if ($hint_div.is(":hidden")) { - $hint_div.show(); + if ($hint_div.is(":visible")) { + $hint_div.hide(); } - $hint_div.slideUp("slow"); $hint_div.html(json); - $hint_div.slideDown("slow"); + $hint_div.show("slow"); + } else { // hint is the same before we hid it so we just need to show it if ($hint_div.is(":hidden")) {