Delete Posts!

This commit is contained in:
Marijn Jansen
2017-02-01 14:34:02 +01:00
parent fc07027405
commit dbfe10f84b
4 changed files with 36 additions and 9 deletions

View File

@@ -46,14 +46,16 @@ function postPost() {
}
$(window).on("load", function() {
$(".modal-close").click(function () {
$(".modal").hide();
scrollbarMargin(0, 'auto');
$('#modal-response').hide();
$('.modal-default').show();
});
$(".modal-close").click(function (){closeModal()});
});
function closeModal() {
$(".modal").hide();
scrollbarMargin(0, 'auto');
$('#modal-response').hide();
$('.modal-default').show();
}
var masonryMode = 0;
var windowWidth = $(window).width();