mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +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
|
|
@ -30,7 +30,7 @@ const componentExportHelper = (ClassObject, templateID = '') => ({
|
|||
params.component = componentInfo;
|
||||
params.element = jQuery(componentInfo.element);
|
||||
|
||||
i18nToNodes(params.element);
|
||||
i18nToNodes(componentInfo.element);
|
||||
|
||||
if (undefined !== params.inline && ko.unwrap(params.inline)) {
|
||||
params.element.css('display', 'inline-block');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue