From 2467a02b0d09a4c14c216e7639cf6cf9e4e724c0 Mon Sep 17 00:00:00 2001 From: Jonas Huckestein Date: Sun, 30 May 2010 05:50:30 -0700 Subject: [PATCH] bugfixes --- show_annotations.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/show_annotations.js b/show_annotations.js index cf08dd1..653ca46 100644 --- a/show_annotations.js +++ b/show_annotations.js @@ -72,7 +72,8 @@ function processJson(response) { status_div = $("#status_" + statusId); - status_div.append("
Show Annotations
").toggle( + status_div.append("
Show Annotations
"); + status_div.find(".annotation_button").toggle( function() { $("#annotation_list_"+statusId).slideDown(); $("#annotation_button_" + statusId).text("Hide Annotations");