Basecamp3 Chrome-extensions 'turbolinks:load' not firing

53 views Asked by At
console.log('messages-list script loaded');

document.addEventListener('turbolinks:load', function(){
    console.log('turbolinks:load');
});

I'm trying to listen to this event but it is not firing in my script.js. If I paste this in console of chrome browser then it works. Only first console.log statement works.

0

There are 0 answers