[Fixes #35791223] Clear the WMD preview after posting a new post.

This commit is contained in:
Ibrahim Awwal
2012-09-10 17:29:34 -07:00
parent 96eb40384f
commit 0da2f60a5e

View File

@@ -147,6 +147,7 @@ if Backbone?
@$(".new-post-body textarea").val("").attr("prev-text", "")
@$(".new-post-tags").val("")
@$(".new-post-tags").importTags("")
@$(".wmd-preview p").html("")
@collection.add thread
setActiveItem: (event) ->