forked from pmpkk/openhab-habpanel-theme-matrix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
matrix.js
25 lines (21 loc) · 950 Bytes
/
matrix.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
(function() {
var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = '/static/matrix-theme/favicon-96x96.png';
document.getElementsByTagName('head')[0].appendChild(link);
})();
(function() {
var link = document.querySelector("link[rel*='apple-touch-icon']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'apple-touch-icon';
link.href = '/static/matrix-theme/matrix-icon.png';
document.getElementsByTagName('head')[0].appendChild(link);
})();
(function() {
var link = document.querySelector("link[rel*='apple-touch-startup-image']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'apple-touch-startup-image';
link.href = '/static/matrix-theme/matrix-launch.png';
document.getElementsByTagName('head')[0].appendChild(link);
})();