Browse Source

Merge pull request #3019 from dabrahams/patch-3

Correct a comment
Hakim El Hattab 3 years ago
parent
commit
db4aa0c2e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugin/highlight/plugin.js

+ 1 - 1
plugin/highlight/plugin.js

@@ -106,7 +106,7 @@ const Plugin = {
 
 
 			var scrollState = { currentBlock: block };
 			var scrollState = { currentBlock: block };
 
 
-			// If there is at least one highlight step, generate
+			// If there is more than one highlight step, generate
 			// fragments
 			// fragments
 			var highlightSteps = Plugin.deserializeHighlightSteps( block.getAttribute( 'data-line-numbers' ) );
 			var highlightSteps = Plugin.deserializeHighlightSteps( block.getAttribute( 'data-line-numbers' ) );
 			if( highlightSteps.length > 1 ) {
 			if( highlightSteps.length > 1 ) {