lib/assets/javascripts/up/modal.js.coffee in upjs-rails-0.12.2 vs lib/assets/javascripts/up/modal.js.coffee in upjs-rails-0.12.3
- old
+ new
@@ -409,10 +409,10 @@
else if !up.popup.contains($fragment)
autoclose()
)
# Close the pop-up overlay when the user presses ESC.
- up.magic.onEscape(-> close())
+ up.bus.onEscape(-> close())
###*
When this element is clicked, closes a currently open dialog.
Does nothing if no modal is currently open.