Fix: no need to use $$ for element existence check
This commit is contained in:
parent
3c450e7d9d
commit
411df8b051
|
@ -156,7 +156,7 @@ function createSourceEditor(style) {
|
|||
]})
|
||||
)})
|
||||
]});
|
||||
if (!$$('li', el).length) {
|
||||
if (!$('li', el)) {
|
||||
$('ul', el).appendChild($element({
|
||||
tag: 'li',
|
||||
className: 'applies-to-everything',
|
||||
|
|
Loading…
Reference in New Issue
Block a user