main.js: Don't increment unless load was successful.

This commit is contained in:
Stuart Longland 2018-01-07 01:05:48 +10:00
parent 1faaec8435
commit ccb4e943eb
Signed by: stuartl
GPG Key ID: 6AA32EFB18079BAA

View File

@ -64,8 +64,8 @@ var getNextPage = function() {
textbox.appendChild(userBox);
});
textbox.appendChild(document.createElement('hr'));
page++;
}
page++;
busy = false;
}
};