refactor(app.js) : Entfernen von /ReadOnly beim Kopieren der Url
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user