app/assets/javascripts/georgia/components/flash.js.coffee in georgia-0.7.8 vs app/assets/javascripts/georgia/components/flash.js.coffee in georgia-0.8.0
- old
+ new
@@ -3,10 +3,10 @@
flash = $(".flash-container")
flash.html("")
$('<div/>',
class: "flash-#{type}",
- text: message
+ html: message
).appendTo(".flash-container")
flash.click -> $(@).fadeOut()
flash.show()
setTimeout (-> flash.fadeOut()), 5000
\ No newline at end of file