SAAS-940: Provide usability hints to user
fix hint message transitions
This commit is contained in:
parent
2de831a37f
commit
e5c574229f
|
@ -172,12 +172,12 @@ function getUsabilityHint() {
|
||||||
$hint_div.hide();
|
$hint_div.hide();
|
||||||
} else if (current_hint !== json) {
|
} else if (current_hint !== json) {
|
||||||
// we only change the message if it is new
|
// we only change the message if it is new
|
||||||
if ($hint_div.is(":hidden")) {
|
if ($hint_div.is(":visible")) {
|
||||||
$hint_div.show();
|
$hint_div.hide();
|
||||||
}
|
}
|
||||||
$hint_div.slideUp("slow");
|
|
||||||
$hint_div.html(json);
|
$hint_div.html(json);
|
||||||
$hint_div.slideDown("slow");
|
$hint_div.show("slow");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// hint is the same before we hid it so we just need to show it
|
// hint is the same before we hid it so we just need to show it
|
||||||
if ($hint_div.is(":hidden")) {
|
if ($hint_div.is(":hidden")) {
|
||||||
|
|
Loading…
Reference in New Issue