diff options
Diffstat (limited to 'view/theme/diabook-red/theme.php')
-rwxr-xr-x | view/theme/diabook-red/theme.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/theme/diabook-red/theme.php b/view/theme/diabook-red/theme.php index 22956f4f9..c7fa77985 100755 --- a/view/theme/diabook-red/theme.php +++ b/view/theme/diabook-red/theme.php @@ -3,13 +3,13 @@ /* * Name: Diabook-red * Description: Diabook-red: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu - * Version: (Version: 1.017) + * Version: (Version: 1.018) * Author: */ //print diabook-version for debugging -$diabook_version = "Diabook-red (Version: 1.017)"; +$diabook_version = "Diabook-red (Version: 1.018)"; $a->page['htmlhead'] .= sprintf('<script "%s" ></script>', $diabook_version); //change css on network and profilepages @@ -461,10 +461,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"); |