fix queue stack

This commit is contained in:
casperlamboo 2016-04-20 11:12:28 +02:00
parent a2bf6257ce
commit 9e40589050
1 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,9 @@ export function post (url, data) {
function addQueue(ajaxData) {
if (sending) {
sendQueue(ajaxData);
} else {
queue.push(ajaxData);
} else {
sendQueue(ajaxData);
}
}