refactor(app.js) : Entfernen von /ReadOnly beim Kopieren der Url

This commit is contained in:
Developer 02
2024-10-16 14:56:54 +02:00
parent a41d03aed5
commit 99fc2aecd9
2 changed files with 2 additions and 2 deletions

View File

@@ -199,7 +199,7 @@ class App {
});
break;
case 'COPY_URL':
const url = window.location.href;
const url = window.location.href.replace(/\/readonly/gi, '');
navigator.clipboard.writeText(url).then(function () {
bsNotify('Kopiert', { alert_type: 'success', delay: 4, icon_name: 'check_circle' });
}).catch(function (err) {