Commit 1a6a1c08 by Tom Giannattasio Committed by Ibrahim Awwal

fixed show/hide glitch on inline discussion button

parent 7a2ca356
...@@ -33,9 +33,9 @@ if Backbone? ...@@ -33,9 +33,9 @@ if Backbone?
$(event.target).html("Show Discussion") $(event.target).html("Show Discussion")
@showed = false @showed = false
else else
$(event.target).html("Hide Discussion")
if @retrieved if @retrieved
@$("section.discussion").show() @$("section.discussion").show()
$(event.target).html("Hide Discussion")
@showed = true @showed = true
else else
$elem = $(event.target) $elem = $(event.target)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment