cleaned fix
This commit is contained in:
@@ -38,8 +38,6 @@ function postPost() {
|
||||
window.scrollTo(0,0);
|
||||
} else {
|
||||
$('#alertbox').hide();
|
||||
noposts = false;
|
||||
postAmount = 0;
|
||||
masonry(masonryMode);
|
||||
}
|
||||
});
|
||||
@@ -53,8 +51,6 @@ function postPost() {
|
||||
window.scrollTo(0,0);
|
||||
} else {
|
||||
$('#alertbox').hide();
|
||||
noposts = false;
|
||||
postAmount = 0;
|
||||
masonry(masonryMode);
|
||||
}
|
||||
});
|
||||
@@ -116,6 +112,10 @@ function masonry(mode) {
|
||||
masonryMode = mode;
|
||||
$container.children().remove();
|
||||
|
||||
// reinit posts
|
||||
noposts = false;
|
||||
postAmount = 0;
|
||||
|
||||
/*
|
||||
* Initialise columns.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user