From 949bc5aa21676e3b0e9c15d6e4404aeb25e16d86 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Sun, 27 Oct 2013 15:16:34 +0000 Subject: [PATCH] Adding a warning message if js is not built closes #1205 --- ghost/admin/init.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ghost/admin/init.js b/ghost/admin/init.js index 09a2d2daaf..b8ec9864e6 100644 --- a/ghost/admin/init.js +++ b/ghost/admin/init.js @@ -34,6 +34,9 @@ }; Ghost.init = function () { + // remove the temporary message which appears + $('.js-msg').remove(); + Ghost.router = new Ghost.Router(); // This is needed so Backbone recognizes elements already rendered server side