CLeanup Nextcloud javascript code

This commit is contained in:
the-djmaze 2022-10-28 09:58:04 +02:00
parent a1cafb1d0c
commit fd0a41cfaf
3 changed files with 23 additions and 28 deletions

View file

@ -43,8 +43,8 @@
let template = document.getElementById('PopupsCompose');
const uploadBtn = template.content.querySelector('#composeUploadButton');
if (uploadBtn) {
uploadBtn.after(Element.fromHTML('<a class="btn fontastic"'
+ ' data-bind="click: nextcloudAttach" data-i18n="[title]NEXTCLOUD/ATTACH_FILES">◦◯◦</a>'));
uploadBtn.after(Element.fromHTML(`<a class="btn fontastic" data-bind="click: nextcloudAttach"
data-i18n="[title]NEXTCLOUD/ATTACH_FILES"></a>`));
}
/**