mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-10 09:02:45 +08:00
13 lines
378 B
JavaScript
13 lines
378 B
JavaScript
(() => {
|
|
|
|
const dom = document.getElementById('MailMessageView').content;
|
|
|
|
dom.querySelector('.attachmentsControls').dataset.bind = '';
|
|
|
|
let ds = dom.querySelector('.attachmentsPlace').dataset;
|
|
ds.bind = ds.bind.replace('showAttachmentControls', 'true');
|
|
|
|
ds = dom.querySelector('.controls-handle').dataset;
|
|
ds.bind = ds.bind.replace('allowAttachmentControls', 'false');
|
|
|
|
})();
|