Skip to content

Commit

Permalink
bind call to init to window load so firefox doesn't freak out
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed May 21, 2015
1 parent ee4b39e commit 1d9a40d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/views/layout_head.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ end
$(document).bind("loadedrecordform.aspace", init);

// For everything else
init();
// had to bind this call to window load because a bare call to init()
// was causing Firefox to jump the gun ... javascript, sheesh
$(window).load(init);

</script>

Expand Down

0 comments on commit 1d9a40d

Please sign in to comment.