diff --git a/public/js/main.js b/public/js/main.js index 04e8ee4769..fa3d6e68f3 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -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(); }); }; diff --git a/views/stories/comments.jade b/views/stories/comments.jade index d8523b8fa2..cda4f4f62d 100644 --- a/views/stories/comments.jade +++ b/views/stories/comments.jade @@ -25,6 +25,7 @@ var div = document.createElement('div'); $(div) .html( + "