0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Adding a warning message if js is not built

closes #1205
This commit is contained in:
Hannah Wolfe 2013-10-27 15:16:34 +00:00
parent 589cfc98df
commit 949bc5aa21

View file

@ -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