aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/staticfiles/javascripts
diff options
context:
space:
mode:
Diffstat (limited to '97suifangqa/staticfiles/javascripts')
-rw-r--r--97suifangqa/staticfiles/javascripts/jargon-display.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/97suifangqa/staticfiles/javascripts/jargon-display.js b/97suifangqa/staticfiles/javascripts/jargon-display.js
index c1af712..9ddfe91 100644
--- a/97suifangqa/staticfiles/javascripts/jargon-display.js
+++ b/97suifangqa/staticfiles/javascripts/jargon-display.js
@@ -31,8 +31,12 @@ function jargon_display(annotations) {
jargonDisplayBox.data('jargon', jargon);
$(".name", $(this)).text(jargon.name);
$(".jargon-details", $(this)).html(jargon.content);
- if (jargon.type == 0){$("a.collect", $(this)).hide()}
- else {$("a.collect", $(this)).text(text).show()}
+ if (jargon.type == 0) {
+ $("a.collect", $(this)).hide();
+ }
+ else {
+ $("a.collect", $(this)).text(text).show();
+ }
/* Maxwell modified */
})
@@ -130,3 +134,4 @@ function jargon_display(annotations) {
})
}
+// vim: set ts=4 sw=4 tw=0 fenc=utf-8 ft=javascript: