mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
js -> jsx
This commit is contained in:
parent
3bcf23f8fa
commit
08ccf55577
43 changed files with 2342 additions and 2347 deletions
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
import {$} from 'common';
|
||||
import {isUnd} from 'Common/Utils';
|
||||
import ko from 'ko';
|
||||
import Utils from 'Common/Utils';
|
||||
|
||||
class AbstractComponent
|
||||
{
|
||||
|
|
@ -40,7 +40,7 @@ const componentExportHelper = (ClassObject, templateID = '') => {
|
|||
|
||||
require('Common/Translator').i18nToNodes(params.element);
|
||||
|
||||
if (!Utils.isUnd(params.inline) && ko.unwrap(params.inline))
|
||||
if (!isUnd(params.inline) && ko.unwrap(params.inline))
|
||||
{
|
||||
params.element.css('display', 'inline-block');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue