Skip to content

Commit f2db057

Browse files
mtraynhamSpaceK33z
authored andcommitted
Don't invoke function on static html string (#1329)
1 parent 94398c4 commit f2db057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client-src/live/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let hot = false;
1111
let currentHash = '';
1212

1313
$(() => {
14-
$('body').html(require('./page.html')());
14+
$('body').html(require('./page.html'));
1515
const status = $('#status');
1616
const okness = $('#okness');
1717
const $errors = $('#errors');

0 commit comments

Comments
 (0)