window refreshes on comment submission

This commit is contained in:
Nathan Leniz
2015-03-07 02:24:28 +09:00
parent 6910ed0aea
commit b46fb576c3
2 changed files with 5 additions and 3 deletions

View File

@@ -208,7 +208,7 @@ $(document).ready(function() {
$('#comment-button').bind('click', commentSubmitButtonHandler);
})
.done(function (data, textStatus, xhr) {
//window.location = '/stories/' + JSON.parse(data).storyLink;
window.location.reload();
});
};