Remove some dead code
This commit is contained in:
parent
5fac094c62
commit
798984c18b
@ -6,22 +6,6 @@ import { htmlEscape } from "escape-goat";
|
|||||||
|
|
||||||
export const start_timestamp = Date.now();
|
export const start_timestamp = Date.now();
|
||||||
|
|
||||||
export const animation_script_head = /* HTML */ `<script type="text/javascript">
|
|
||||||
message = document.title + " • ";
|
|
||||||
window.title_animation_active = false;
|
|
||||||
window.animatePageTitle = function () {
|
|
||||||
if (window.title_animation_active) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
window.title_animation_active = true;
|
|
||||||
function step() {
|
|
||||||
message = message.substr(1) + message.substr(0, 1);
|
|
||||||
document.title = message;
|
|
||||||
}
|
|
||||||
setInterval(step, 100);
|
|
||||||
};
|
|
||||||
</script>`;
|
|
||||||
|
|
||||||
export function defaultHead({
|
export function defaultHead({
|
||||||
ctx,
|
ctx,
|
||||||
title,
|
title,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user