Skip to content

Commit

Permalink
Transfer flash rendered from document load to window load [#10]
Browse files Browse the repository at this point in the history
  • Loading branch information
leonid-shevtsov committed Mar 7, 2014
1 parent 4faf714 commit 2c7a181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assets/javascripts/unobtrusive_flash.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $(function() {
}
}

$(function() {
$(window).load(function() {
UnobtrusiveFlash.showFlashFromCookies();
});

Expand Down

0 comments on commit 2c7a181

Please sign in to comment.