mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Merge pull request #1301 from ErisDS/js-build-warn
Adding a warning message if js is not built
This commit is contained in:
commit
bd4a227f57
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
Ghost.init = function () {
|
Ghost.init = function () {
|
||||||
|
// remove the temporary message which appears
|
||||||
|
$('.js-msg').remove();
|
||||||
|
|
||||||
Ghost.router = new Ghost.Router();
|
Ghost.router = new Ghost.Router();
|
||||||
|
|
||||||
// This is needed so Backbone recognizes elements already rendered server side
|
// This is needed so Backbone recognizes elements already rendered server side
|
||||||
|
|
Loading…
Add table
Reference in a new issue