mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Use less jQuery, more native
This commit is contained in:
parent
24cb874c87
commit
bdb36ec128
35 changed files with 492 additions and 779 deletions
|
|
@ -72,7 +72,7 @@ class AbstractApp extends AbstractBoot {
|
|||
} else {
|
||||
const oLink = document.createElement('a');
|
||||
oLink.href = link;
|
||||
document.body.appendChild(oLink).click();
|
||||
document.body.append(oLink).click();
|
||||
oLink.remove();
|
||||
// open(link, '_self');
|
||||
}
|
||||
|
|
@ -165,11 +165,7 @@ class AbstractApp extends AbstractBoot {
|
|||
ko.components.register('SaveTrigger', require('Component/SaveTrigger').default);
|
||||
ko.components.register('Input', require('Component/Input').default);
|
||||
ko.components.register('Select', require('Component/Select').default);
|
||||
ko.components.register('Radio', require('Component/Radio').default);
|
||||
ko.components.register('TextArea', require('Component/TextArea').default);
|
||||
ko.components.register('Date', require('Component/Date').default);
|
||||
|
||||
ko.components.register('x-script', require('Component/Script').default);
|
||||
|
||||
if (Settings.appSettingsGet('materialDesign') && !bMobileDevice) {
|
||||
ko.components.register('Checkbox', require('Component/MaterialDesign/Checkbox').default);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue