summaryrefslogtreecommitdiff
path: root/templates/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'templates/main.js')
-rw-r--r--templates/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/main.js b/templates/main.js
index 144c5f62..c0961878 100644
--- a/templates/main.js
+++ b/templates/main.js
@@ -198,6 +198,10 @@ function citeReply(id) {
// ???
body.value += '>>' + id + '\n';
}
+ if ($) {
+ $(window).trigger('cite', id);
+ $(body).change();
+ }
}
function rememberStuff() {