aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index 29e408e64..f9dc95daa 100644
--- a/js/main.js
+++ b/js/main.js
@@ -52,7 +52,7 @@
function insertbbcomment(comment,BBcode,id) {
// allow themes to override this
- if(typeof(insertFormatting != 'undefined'))
+ if(typeof(insertFormatting) != 'undefined')
return(insertFormatting(comment,BBcode,id));
var tmpStr = $("#comment-edit-text-" + id).val();