aboutsummaryrefslogtreecommitdiff
path: root/lib/util.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-06 17:37:42 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-06 17:37:42 -1000
commitbc37b05926f3b5acff7905748607f4f0da5ac14e (patch)
tree3a7abb29bb1787a2a6112330e59c62c46997436a /lib/util.js
parentd81825f4b4da83bd0376ac916107f425872eee7b (diff)
downloadpatchfoo-bc37b05926f3b5acff7905748607f4f0da5ac14e.tar.gz
patchfoo-bc37b05926f3b5acff7905748607f4f0da5ac14e.zip
Put shortcut icon in correct place
Diffstat (limited to 'lib/util.js')
-rw-r--r--lib/util.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/util.js b/lib/util.js
index 90fc55a..6a419f9 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -38,9 +38,7 @@ u.toHTML = function (el) {
if (typeof el === 'string' || Array.isArray(el)) {
return h('div', el).innerHTML
}
- var html = el.outerHTML || String(el)
- if (el.nodeName === 'html') html = '<!doctype html><link rel="icon" href="static/hermie.ico" type="image/x-icon"/>' + html + '\n'
- return html
+ return el.outerHTML || String(el)
}
u.hyperwrap = function (fn) {