From 8e9b27f0b57445b18d9c5246a4a2c48610e7c619 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Sat, 16 Nov 2013 18:47:55 +0000 Subject: [PATCH] Remove inline script from default.hbs closes #1268 --- core/client/init.js | 1 + core/server/views/default.hbs | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/client/init.js b/core/client/init.js index b8ec9864e6..e0e987831c 100644 --- a/core/client/init.js +++ b/core/client/init.js @@ -73,4 +73,5 @@ window.Ghost = Ghost; + window.addEventListener("load", Ghost.init, false); }()); diff --git a/core/server/views/default.hbs b/core/server/views/default.hbs index 95d0de9609..2f0c8c5aef 100644 --- a/core/server/views/default.hbs +++ b/core/server/views/default.hbs @@ -56,9 +56,5 @@ {{{ghostScriptTags}}} {{{block "bodyScripts"}}} - -