fix bug with dialog close listeners stacking up
This commit is contained in:
parent
fe9e7f4c61
commit
cc9eeade0b
@ -68,6 +68,7 @@ var util = function() {
|
||||
function hide( thing ) {
|
||||
$('.' + thing ).hide();
|
||||
$('.' + thing + '-overlay').hide();
|
||||
if (thing === "dialog") app.emitter.clear('esc'); // todo more elegant solution
|
||||
}
|
||||
|
||||
function position( thing, elem, offset ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user