]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook-aerith/theme.php
diabook-themes: small fixes
[friendica.git] / view / theme / diabook-aerith / theme.php
index a7d20a7ce80e54debd3bc107f5cacd33a128163c..39ea118cffe04d550607682f840c4bc693a303ac 100755 (executable)
@@ -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");