mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-09 07:28:21 +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();
|
autoSuggest.close();
|
||||||
} else if (state.get.current().link.edit) {
|
} else if (state.get.current().link.edit) {
|
||||||
link.edit.item.close();
|
link.edit.item.close();
|
||||||
|
modal.close();
|
||||||
shade.close();
|
shade.close();
|
||||||
data.save();
|
data.save();
|
||||||
} else if (state.get.current().link.add) {
|
} else if (state.get.current().link.add) {
|
||||||
link.add.item.close();
|
link.add.item.close();
|
||||||
|
modal.close();
|
||||||
shade.close();
|
shade.close();
|
||||||
data.save();
|
data.save();
|
||||||
} else if (state.get.current().group.edit) {
|
} else if (state.get.current().group.edit) {
|
||||||
link.edit.group.close();
|
link.edit.group.close();
|
||||||
|
modal.close();
|
||||||
shade.close();
|
shade.close();
|
||||||
data.save();
|
data.save();
|
||||||
} else if (state.get.current().group.add) {
|
} else if (state.get.current().group.add) {
|
||||||
link.add.group.close();
|
link.add.group.close();
|
||||||
|
modal.close();
|
||||||
shade.close();
|
shade.close();
|
||||||
data.save();
|
data.save();
|
||||||
} else if (state.get.current().modal) {
|
} else if (state.get.current().modal) {
|
||||||
|
@ -1416,6 +1416,7 @@ var link = (function() {
|
|||||||
shade.open({
|
shade.open({
|
||||||
action: function() {
|
action: function() {
|
||||||
add.item.close();
|
add.item.close();
|
||||||
|
modal.close();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
pagelock.lock();
|
pagelock.lock();
|
||||||
@ -1424,7 +1425,6 @@ var link = (function() {
|
|||||||
close: function() {
|
close: function() {
|
||||||
stagedLink.reset();
|
stagedLink.reset();
|
||||||
autoSuggest.close();
|
autoSuggest.close();
|
||||||
modal.close();
|
|
||||||
pagelock.unlock();
|
pagelock.unlock();
|
||||||
},
|
},
|
||||||
selectGroup: function(groupIndex) {
|
selectGroup: function(groupIndex) {
|
||||||
@ -1468,6 +1468,7 @@ var link = (function() {
|
|||||||
shade.open({
|
shade.open({
|
||||||
action: function() {
|
action: function() {
|
||||||
add.group.close();
|
add.group.close();
|
||||||
|
modal.close();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
pagelock.lock();
|
pagelock.lock();
|
||||||
@ -1476,7 +1477,6 @@ var link = (function() {
|
|||||||
close: function() {
|
close: function() {
|
||||||
stagedGroup.reset();
|
stagedGroup.reset();
|
||||||
autoSuggest.close();
|
autoSuggest.close();
|
||||||
modal.close();
|
|
||||||
pagelock.unlock();
|
pagelock.unlock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1522,6 +1522,7 @@ var link = (function() {
|
|||||||
shade.open({
|
shade.open({
|
||||||
action: function() {
|
action: function() {
|
||||||
edit.item.close();
|
edit.item.close();
|
||||||
|
modal.close();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
pagelock.lock();
|
pagelock.lock();
|
||||||
@ -1529,7 +1530,6 @@ var link = (function() {
|
|||||||
close: function() {
|
close: function() {
|
||||||
stagedLink.reset();
|
stagedLink.reset();
|
||||||
autoSuggest.close();
|
autoSuggest.close();
|
||||||
modal.close();
|
|
||||||
pagelock.unlock();
|
pagelock.unlock();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1567,6 +1567,7 @@ var link = (function() {
|
|||||||
shade.open({
|
shade.open({
|
||||||
action: function() {
|
action: function() {
|
||||||
edit.group.close();
|
edit.group.close();
|
||||||
|
modal.close();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
pagelock.lock();
|
pagelock.lock();
|
||||||
@ -1574,7 +1575,6 @@ var link = (function() {
|
|||||||
close: function() {
|
close: function() {
|
||||||
stagedGroup.reset();
|
stagedGroup.reset();
|
||||||
autoSuggest.close();
|
autoSuggest.close();
|
||||||
modal.close();
|
|
||||||
pagelock.unlock();
|
pagelock.unlock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user