diff --git a/edit/source-editor.js b/edit/source-editor.js index 25d81dfa..e7c02288 100644 --- a/edit/source-editor.js +++ b/edit/source-editor.js @@ -156,7 +156,7 @@ function createSourceEditor(style) { ]}) )}) ]}); - if (!$$('li', el).length) { + if (!$('li', el)) { $('ul', el).appendChild($element({ tag: 'li', className: 'applies-to-everything',