commit | 543e70c7b8c24e14e9c5254960626903b6944220 | [log] [tgz] |
---|---|---|
author | Andreu <andreuhuguet@gmail.com> | Sun Sep 22 14:08:49 2019 +0200 |
committer | Andreu <andreuhuguet@gmail.com> | Sun Sep 22 14:08:49 2019 +0200 |
tree | c921f2f314c0125565c531f34449f9a8b975a6a7 | |
parent | 78e5bb0dd5d9a8c8b5c33532191034a88c9e15f8 [diff] |
Added improved messaging
diff --git a/js/animations.js b/js/animations.js index fb04a9a..5eb5e14 100644 --- a/js/animations.js +++ b/js/animations.js
@@ -4,3 +4,9 @@ $(".victima").fadeIn(400); }); } + +function read_message(msg, type) { + $.notify(msg, type); + newURL = window.location.href.split('?')[0]; + history.pushState({}, null, newURL); +}