Skip to content

Commit

Permalink
Don't invoke function on static html string (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtraynham authored and SpaceK33z committed Mar 1, 2018
1 parent 94398c4 commit f2db057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-src/live/index.js
Expand Up @@ -11,7 +11,7 @@ let hot = false;
let currentHash = '';

$(() => {
$('body').html(require('./page.html')());
$('body').html(require('./page.html'));
const status = $('#status');
const okness = $('#okness');
const $errors = $('#errors');
Expand Down

1 comment on commit f2db057

@scottsword
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this.

Please sign in to comment.