pull/69/head v1.1.4
Thomas Buckley-Houston 2018-06-26 15:24:59 +08:00
rodzic 16f1917ed8
commit af1f47bc65
2 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Browsh",
"version": "1.1.3",
"version": "1.1.4",
"description": "Renders the browser as realtime, interactive, TTY-compatible text",

Wyświetl plik

@ -80,7 +80,11 @@ export default (MixinBase) => class extends MixinBase {
_getFavicon() {
let el = document.querySelector("link[rel*='icon']");
return `<link rel="shortcut icon" type = "image/x-icon" href="${el.href}">`
if (el) {
return `<link rel="shortcut icon" type = "image/x-icon" href="${el.href}">`;
} else {
return '';
}
}