File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function updateNumberBlancLines() {
2525 chrome . storage . local . get ( [ "numberBlancLines" ] , function ( result ) {
2626 //update everyXLine value if change
2727 if ( result [ "numberBlancLines" ] ) {
28- numberHeaderFooter = result [ "numberBlancLines" ] ;
28+ numberBlancLines = result [ "numberBlancLines" ] ;
2929 } else {
3030 numberBlancLines = false ;
3131 }
@@ -70,7 +70,7 @@ function numberLine( $lineview ) {
7070 } else if ( ! numberBlancLines && $lineview . find ( "span.kix-wordhtmlgenerator-word-node" ) . text ( ) . replace ( / \s / g, "" ) === "" ) {
7171 // Blanc Lines?
7272 return false ;
73- } else if ( numberParagraphsOnly && $lineview . parent ( ) . attr ( "id" ) !== undefined ) {
73+ } else if ( numberParagraphsOnly && $lineview . parent ( ) . attr ( "id" ) ) {
7474 if ( $lineview . parent ( ) . attr ( "id" ) . replace ( / \. [ ^ ] * / , "" ) === "h" ) {
7575 // Not Pragraph?
7676 return false ;
You can’t perform that action at this time.
0 commit comments