Use event delegation in flash message dismiss javascript
Use event delegation in flash message dismiss javascript

Ref: http://api.jquery.com/on/#direct-and-delegated-events

jzohrab/supermarket,tas50/supermarket,dpnl87/supermarket,dpnl87/supermarket,chef/supermarket,juliandunn/supermarket,nellshamrell/supermarket,leftathome/supermarket,leftathome/supermarket,chef/supermarket,nellshamrell/supermarket,tas50/supermarket,tas50/supermarket,robbkidd/supermarket,jzohrab/supermarket,chef/supermarket,juliandunn/supermarket,robbkidd/supermarket,juliandunn/supermarket,tas50/supermarket,dpnl87/supermarket,chef/supermarket,juliandunn/supermarket,jzohrab/supermarket,chef/supermarket,rafaelmagu/supermarket,leftathome/supermarket,dpnl87/supermarket,jzohrab/supermarket,nellshamrell/supermarket,robbkidd/supermarket,rafaelmagu/supermarket,leftathome/supermarket,nellshamrell/supermarket,rafaelmagu/supermarket,rafaelmagu/supermarket,robbkidd/supermarket