Skip to content
Snippets Groups Projects
Commit 227f90fa authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

fix code block auto-animate bug that caused unmatched lines to appear without fading in

parent 0d699ec7
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment