[bug] fix modal close not animating out

This commit is contained in:
zombieFox 2019-12-31 21:00:23 -07:00
parent 5c77e9fa72
commit 56a0d8fc48
2 changed files with 8 additions and 4 deletions

View File

@ -16,18 +16,22 @@ var keyboard = (function() {
autoSuggest.close();
} else if (state.get.current().link.edit) {
link.edit.item.close();
modal.close();
shade.close();
data.save();
} else if (state.get.current().link.add) {
link.add.item.close();
modal.close();
shade.close();
data.save();
} else if (state.get.current().group.edit) {
link.edit.group.close();
modal.close();
shade.close();
data.save();
} else if (state.get.current().group.add) {
link.add.group.close();
modal.close();
shade.close();
data.save();
} else if (state.get.current().modal) {

View File

@ -1416,6 +1416,7 @@ var link = (function() {
shade.open({
action: function() {
add.item.close();
modal.close();
}
});
pagelock.lock();
@ -1424,7 +1425,6 @@ var link = (function() {
close: function() {
stagedLink.reset();
autoSuggest.close();
modal.close();
pagelock.unlock();
},
selectGroup: function(groupIndex) {
@ -1468,6 +1468,7 @@ var link = (function() {
shade.open({
action: function() {
add.group.close();
modal.close();
}
});
pagelock.lock();
@ -1476,7 +1477,6 @@ var link = (function() {
close: function() {
stagedGroup.reset();
autoSuggest.close();
modal.close();
pagelock.unlock();
}
}
@ -1522,6 +1522,7 @@ var link = (function() {
shade.open({
action: function() {
edit.item.close();
modal.close();
}
});
pagelock.lock();
@ -1529,7 +1530,6 @@ var link = (function() {
close: function() {
stagedLink.reset();
autoSuggest.close();
modal.close();
pagelock.unlock();
}
},
@ -1567,6 +1567,7 @@ var link = (function() {
shade.open({
action: function() {
edit.group.close();
modal.close();
}
});
pagelock.lock();
@ -1574,7 +1575,6 @@ var link = (function() {
close: function() {
stagedGroup.reset();
autoSuggest.close();
modal.close();
pagelock.unlock();
}
}