clean up outdated reference to old gerbil-autoscroll-patches code

This commit is contained in:
lone-cloud 2025-11-28 11:19:11 -08:00
parent 7c543ebbbb
commit 3c2d987769

View file

@ -86,13 +86,6 @@ export const patchKliteEmbd = (unpackedDir: string) =>
); );
} }
if (content.includes('gerbil-autoscroll-patches')) {
patchedContent = patchedContent.replace(
/<script id="gerbil-autoscroll-patches">[\s\S]*?<\/script>\s*/g,
''
);
}
patchedContent = patchedContent.replace( patchedContent = patchedContent.replace(
'</head>', '</head>',
`${KLITE_CSS_OVERRIDE}\n</head>` `${KLITE_CSS_OVERRIDE}\n</head>`