mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
parent
89937666e1
commit
6869c01a28
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -43,6 +43,10 @@
|
|||
|
||||
{{{body}}}
|
||||
|
||||
<div class="js-msg">
|
||||
<p>Hello There! Looks like something went wrong with your JavaScript.</p>
|
||||
<p>Either you need to enable JavaScript, or you haven't built the JavaScript files yet. See the README and CONTRIBUTING files for more info.</p>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div id="modal-container">
|
||||
|
|
Loading…
Add table
Reference in a new issue