fix code block auto-animate bug that caused unmatched lines to appear without fading in
This commit is contained in:
parent
0d699ec7f5
commit
227f90fa00
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ export default class AutoAnimate {
|
|||
} );
|
||||
|
||||
// Line numbers
|
||||
this.findAutoAnimateMatches( pairs, pair.from, pair.to, '.hljs .hljs-ln-line[data-line-number]', node => {
|
||||
this.findAutoAnimateMatches( pairs, pair.from, pair.to, '.hljs .hljs-ln-numbers[data-line-number]', node => {
|
||||
return node.getAttribute( 'data-line-number' );
|
||||
}, {
|
||||
scale: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue