Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nikse committed Feb 20, 2020
1 parent 11d3c5e commit e18703b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/models/post.js
Expand Up @@ -214,7 +214,9 @@ class Post {
} else {
listParent = null;
sectionParent = post;
const tagName = tailNotSelected && tail.section === section ? 'p' : section.tagName;
const tagName = tailNotSelected && tail.section === section ?
'p' :
section.tagName;
newSection = builder.createMarkupSection(tagName);
}

Expand Down

0 comments on commit e18703b

Please sign in to comment.