From 498e5241fcc42a79aed251aeaed869f1aea3651a Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Tue, 15 Mar 2016 15:18:18 -0600 Subject: [PATCH] Move `paper-wormhole` out of head tag. The `paper-wormhole` div is currently insterted into the `` of the index.html page, which causes DOM parsing problems for browsers. The `div` element cannot appear in the ``, and causes Chrome to move the `` tag up to enclose the first `
`, breaking all subsequent `` tags (favicons, etc.) This change places the tag as the first element in the `` tag, which should be equivalent for Paper. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 66ec9808a..22ce7b09c 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ module.exports = { app.import('vendor/propagating.js'); }, contentFor: function(type) { - if (type === 'head') { + if (type === 'body') { return "
"; } },