aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook-aerith/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/diabook-aerith/theme.php')
-rwxr-xr-xview/theme/diabook-aerith/theme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/theme/diabook-aerith/theme.php b/view/theme/diabook-aerith/theme.php
index a7d20a7ce..39ea118cf 100755
--- a/view/theme/diabook-aerith/theme.php
+++ b/view/theme/diabook-aerith/theme.php
@@ -462,10 +462,10 @@ function restore_boxes(){
$a->page['htmlhead'] .= '
<script type="text/javascript">
-function insertFormatting(BBcode,id) {
+function insertFormatting(comment,BBcode,id) {
var tmpStr = $("#comment-edit-text-" + id).val();
- if(tmpStr == "Kommentar") {
+ if(tmpStr == comment) {
tmpStr = "";
$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");