update favicon link element id 'favicon'

This commit is contained in:
sinyo-matu 2023-05-07 12:49:32 +09:00
parent be6161d02e
commit f0e1e6238c
No known key found for this signature in database
GPG key ID: 247A7D2762CDC85F
2 changed files with 2 additions and 2 deletions

View file

@ -76,6 +76,6 @@ function init(reconnectDelay) {
}
const changeFavicon = function (iconURL) {
const faviconLink = document.getElementById("favicon-link");
const faviconLink = document.getElementById("favicon");
faviconLink.href = iconURL;
};

View file

@ -429,7 +429,7 @@ func (w *watcher) handleRoot(hw http.ResponseWriter, r *http.Request) {
<title>%s</title>
<script src="./static/watch.js"></script>
<link rel="stylesheet" href="./static/watch.css">
<link id="favicon-link" rel="icon" href="./static/favicon.ico">
<link id="favicon" rel="icon" href="./static/favicon.ico">
</head>
<body data-d2-dev-mode=%t>
<div id="d2-err" style="display: none"></div>