added alert box when emptpy posting

This commit is contained in:
Hendrik
2017-02-02 13:42:59 +01:00
parent 12d5e00731
commit d4d16661df
5 changed files with 56 additions and 31 deletions

View File

@@ -32,6 +32,8 @@ function deletePost(postID) {
alert("Je account is bevroren, dus je kan geen posts verwijderen. Contacteer een admin als je denkt dat dit onjuist is.");
}
});
noposts = false;
postAmount = 0;
closeModal();
masonry(masonryMode);