mirror of
https://github.com/Icinga/icinga-docs-tools.git
synced 2025-07-22 21:34:26 +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() {
|
||||
$('#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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user