瀏覽代碼

Merge pull request #3019 from dabrahams/patch-3

Correct a comment
Hakim El Hattab 3 年之前
父節點
當前提交
db4aa0c2e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugin/highlight/plugin.js

+ 1 - 1
plugin/highlight/plugin.js

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