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