Andrew Tomaka
ae9aecc2ab
$document().ready is only called when the DOM completes loading. Since turbolinks loads new data into the DOM without completely reloading, the ready event is never fired. We can account for this by using the page:load event. |
||
---|---|---|
.. | ||
application.js | ||
pastes.js.coffee |