summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/flash.js.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/flash.js.coffee')
-rw-r--r--app/assets/javascripts/flash.js.coffee12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/assets/javascripts/flash.js.coffee b/app/assets/javascripts/flash.js.coffee
deleted file mode 100644
index b39ab0c4475..00000000000
--- a/app/assets/javascripts/flash.js.coffee
+++ /dev/null
@@ -1,12 +0,0 @@
-class @Flash
- constructor: (message, type)->
- flash = $(".flash-container")
- flash.html("")
-
- $('<div/>',
- class: "flash-#{type}",
- text: message
- ).appendTo(".flash-container")
-
- flash.click -> $(@).fadeOut()
- flash.show()