update favicon link element id 'favicon'
This commit is contained in:
parent
be6161d02e
commit
f0e1e6238c
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue