REFACTORING: split javascripts

This commit is contained in:
Michal Kváček
2017-09-14 10:14:11 +02:00
parent a0c31c7a5f
commit a2d83ce3fa
8 changed files with 643 additions and 459 deletions
+11
View File
@@ -0,0 +1,11 @@
var notification = $ ('.notification');
if (notification.length) {
notification.click (function () {
$ (this).fadeOut ('fast');
});
setTimeout (function () {
notification.fadeOut (1500)
}, 5 * 1000)
}