lib/ecrire/app/assets/javascripts/shared/overlay.coffee in ecrire-0.30.3 vs lib/ecrire/app/assets/javascripts/shared/overlay.coffee in ecrire-0.31.0

- old
+ new

@@ -1,8 +1,8 @@ ObserveJS.bind 'Overlay', class loaded: => @on 'click', @clicked - @on 'keyup', document, @escaped + @when 'keyup', @escaped @on 'dialog:close', @remove @y = document.body.scrollTop main = document.body.querySelector('main') main.classList.add('overlayed')