Skip to content

Node.js based forum software built for the modern web

clear topic and content after post

Baris Soner Usaklia47491225ae2
diff --git a/public/src/app.js b/public/src/app.js
index a45effa90d..249bc1b688 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -158,6 +158,9 @@ var socket,
'title' : title,
'content' : content
});
+
+ jQuery('#post_title').val('');
+ jQuery('#post_content').val('');
jQuery(post_window).slideToggle(250);
};