aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-05-27 12:20:07 +0200
committerMario Vavti <mario@mariovavti.com>2018-05-27 12:20:07 +0200
commit5a475453ab2939836ab8a541de6ca9608781a0c8 (patch)
treec54a1a2dbb694029359a578ab84ac97f28881d52 /view/tpl/jot-header.tpl
parenteb04dbc5ce2321ca5da4274005bd3e4352cf83fa (diff)
downloadvolse-hubzilla-5a475453ab2939836ab8a541de6ca9608781a0c8.tar.gz
volse-hubzilla-5a475453ab2939836ab8a541de6ca9608781a0c8.tar.bz2
volse-hubzilla-5a475453ab2939836ab8a541de6ca9608781a0c8.zip
fix js error with catalan language (unescaped strings)
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 22413f350..365a922f9 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -365,12 +365,12 @@ var activeCommentText = '';
if($('#jot-nocomment').val() > 0) {
$('#jot-nocomment').val(0);
$('#profile-nocomment, #profile-nocomment-sub').removeClass('fa-comments-o').addClass('fa-comments');
- $('#profile-nocomment-wrapper').attr('title', '{{$nocomment_enabled}}');
+ $('#profile-nocomment-wrapper').attr('title', '{{$nocomment_enabled|escape:'javascript'}}');
}
else {
$('#jot-nocomment').val(1);
$('#profile-nocomment, #profile-nocomment-sub').removeClass('fa-comments').addClass('fa-comments-o');
- $('#profile-nocomment-wrapper').attr('title', '{{$nocomment_disabled}}');
+ $('#profile-nocomment-wrapper').attr('title', '{{$nocomment_disabled|escape:'javascript'}}');
}
}