device-56.home 2026-3-29:22:14:22

This commit is contained in:
oskar
2026-03-29 22:14:22 +02:00
parent 9b7ca323a2
commit 604e7b7c03
48 changed files with 634 additions and 260 deletions

View File

@@ -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 ) {
@@ -142,7 +142,7 @@ const Plugin = {
} );
block.removeAttribute( 'data-fragment-index' )
block.removeAttribute( 'data-fragment-index' );
block.setAttribute( 'data-line-numbers', Plugin.serializeHighlightSteps( [ highlightSteps[0] ] ) );
}