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

This commit is contained in:
Egor 2025-11-28 11:19:11 -08:00
parent 0fa85a7857
commit 421478778b

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(
'</head>',
`${KLITE_CSS_OVERRIDE}\n</head>`