From a47491225ae20b999b57cf30f7391cb58be1218c Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Thu, 2 May 2013 11:40:00 -0400 Subject: [PATCH] clear topic and content after post --- public/src/app.js | 3 +++ 1 file changed, 3 insertions(+) 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); };