Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 95e4864

Browse files
bernardwolfflinkesch
authored andcommitted
look at html().length instead of children().length (#413)
1 parent b108975 commit 95e4864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@
311311
return;
312312
}
313313

314-
if (this.$el.children().length === 0) {
314+
if (this.$el.html().length === 0) {
315315
this.$el.html(this.templates['src/js/templates/core-empty-line.hbs']().trim());
316316
}
317317

0 commit comments

Comments
 (0)