estum / growlyflash

Growl-styled flash messages for Ruby on Rails and Bootstrap
MIT License
58 stars 34 forks source link

close button doesn't work? #1

Closed david-forever closed 10 years ago

david-forever commented 10 years ago

Do I need to add allow_dismiss: true somewhere as in the bootstrap-growl docs?

Thanks.

estum commented 10 years ago

Sorry for the long silence, I just noticed this issue.

Yes, add the following line to the top of any coffee/js asset required after growlyflash/growlyflash:

 $.bootstrapGrowl.defaults.dismiss = true

Also, I added section about overriding default options in README.md#Customize .