Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Internal: Minor refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Feb 6, 2019
1 parent 4ebc363 commit cf9353f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/filters/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,6 @@ function isNewListNeeded( previousItem, currentItem ) {
return true;
}

// Even with the same id the list does not have to by continuous one (#43).
return !previousSibling.is( 'element', 'ul' ) && !previousSibling.is( 'element', 'ol' );
// Even with the same id the list does not have to be continuous (#43).
return !previousSibling.is( 'ul' ) && !previousSibling.is( 'ol' );
}

0 comments on commit cf9353f

Please sign in to comment.