mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-08 15:09:30 +01:00
[bug] fix modal close not animating out
This commit is contained in:
parent
5c77e9fa72
commit
56a0d8fc48
@ -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) {
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user