Properly slice the first 10 characters for QR-secret popover hint

This commit is contained in:
Martin Gross
2021-06-25 09:32:05 +02:00
parent e4f542b060
commit d4712266ff

View File

@@ -866,7 +866,7 @@ $(function () {
height: 196
}
);
$div.append($(this).attr("data-qrcode").slice(10) + "…<br>");
$div.append($(this).attr("data-qrcode").slice(0, 10) + "…<br>");
$div.append(gettext("Click to close"));
$div.slideDown(200);
$div.click(function (e) {