diff options
Diffstat (limited to 'assets/js/src/Notification.js')
-rw-r--r-- | assets/js/src/Notification.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/assets/js/src/Notification.js b/assets/js/src/Notification.js new file mode 100644 index 00000000..840ee988 --- /dev/null +++ b/assets/js/src/Notification.js @@ -0,0 +1,9 @@ +Kanboard.Notification = function(app) { + this.app = app; +}; + +Kanboard.Notification.prototype.execute = function() { + $(".alert-fade-out").delay(4000).fadeOut(800, function() { + $(this).remove(); + }); +}; |