mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Remove some shortcuts due to conflicts, read #252
This commit is contained in:
parent
4250dcf3f0
commit
096faae844
8 changed files with 18 additions and 40 deletions
|
|
@ -29,16 +29,6 @@ export const
|
|||
domItem && item && undefined !== item.disabled
|
||||
&& domItem.classList.toggle('disabled', domItem.disabled = item.disabled),
|
||||
|
||||
inFocus = () => {
|
||||
try {
|
||||
return doc.activeElement && doc.activeElement.matches(
|
||||
'input,textarea,[contenteditable]'
|
||||
);
|
||||
} catch (e) {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
// unescape(encodeURIComponent()) makes the UTF-16 DOMString to an UTF-8 string
|
||||
b64EncodeJSON = data => btoa(unescape(encodeURIComponent(JSON.stringify(data)))),
|
||||
/* // Without deprecated 'unescape':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue