mirror of
https://github.com/Icinga/icinga-docs-tools.git
synced 2025-07-23 05:44:33 +02:00
Don't restart pop-up animation on page reload
This commit is contained in:
parent
80765cf511
commit
82d4845978
@ -45,7 +45,10 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#popup-window').delay(3000).animate({'margin-right':'0px'},1000);
|
if (sessionStorage.getItem("animationDone") != "done") {
|
||||||
|
$('#popup-window').delay(3000).animate({'margin-right':'0px'},1000);
|
||||||
|
sessionStorage.setItem("animationDone", "done");
|
||||||
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user