Преглед изворни кода

Fix app initialization on old browsers

Thibaut пре 12 година
родитељ
комит
e44ef3f69a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      assets/javascripts/application.js.coffee

+ 1 - 1
assets/javascripts/application.js.coffee

@@ -19,7 +19,7 @@
 #= require_tree ./templates
 
 init = ->
-  document.removeEventListener 'DOMContentLoaded', init
+  document.removeEventListener 'DOMContentLoaded', init, false
   app.init()
 
 document.addEventListener 'DOMContentLoaded', init, false