Skip to content
Snippets Groups Projects
Commit 5fb2bbbd authored by Rocky Duan's avatar Rocky Duan
Browse files

make similar posts go away when submitted post

parent 233f817f
No related merge requests found
......@@ -129,6 +129,8 @@ if Backbone?
$thread = $(response.html)
@$el.children(".threads").prepend($thread)
@$(".new-post-similar-posts").empty()
@$(".new-post-similar-posts-wrapper").hide()
@$(".new-post-title").val("")
DiscussionUtil.setWmdContent @$el, $.proxy(@$, @), "new-post-body", ""
@$(".new-post-tags").val("")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment