mirror of
https://github.com/lone-cloud/gerbil
synced 2026-06-03 19:54:44 -07:00
clean up outdated reference to old gerbil-autoscroll-patches code
This commit is contained in:
parent
7c543ebbbb
commit
3c2d987769
1 changed files with 0 additions and 7 deletions
|
|
@ -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>`
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue