Skip to content

Commit

Permalink
fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rgravitvl committed Dec 11, 2023
1 parent 62367fd commit ebb3cd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/importer/transformers/fullLayoutSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ const createFullLayoutSection = (main, document) => {
const div = e.querySelector('div');
const style = div.getAttribute('class');
if (style) {

if(i === 0 && e.parentNode.previousElementSibling) e.prepend(document.createElement('hr'));
if (i === 0 && e.parentNode.previousElementSibling) e.prepend(document.createElement('hr'));
const cells = [['Section Metadata'], ['style', style]];
const table = WebImporter.DOMUtils.createTable(cells, document);
e.after(table);
Expand Down

0 comments on commit ebb3cd3

Please sign in to comment.