wachunga / omega

Real-time issue tracker optimized for small teams
http://omegatracker.herokuapp.com
MIT License
114 stars 26 forks source link

Firefox: hitting escape disconnects socket connection #5

Open wachunga opened 12 years ago

wachunga commented 12 years ago

A long-standing "feature" in firefox: escape kills any network requests. See https://bugzilla.mozilla.org/show_bug.cgi?id=614304

May be possible for Ω to workaround it.

xer0x commented 12 years ago

A possible work around:

window.addEventListener('keydown', function(e) { (e.keyCode == 27 && e.preventDefault()) })

Found here: https://github.com/sockjs/sockjs-client/issues/18#issuecomment-6218613