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.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/flash.js.coffee b/app/assets/javascripts/flash.js.coffee
index 5de012e409f..4f73d215b85 100644
--- a/app/assets/javascripts/flash.js.coffee
+++ b/app/assets/javascripts/flash.js.coffee
@@ -1,5 +1,5 @@
class @Flash
- constructor: (message, type)->
+ constructor: (message, type = 'alert')->
@flash = $(".flash-container")
@flash.html("")