Skip to content

Commit 17ee832

Browse files
committed
Fix #77
1 parent c512a31 commit 17ee832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/codeflask.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ export default class CodeFlask {
255255
this.elTextarea.value = newCode;
256256
this.elCode.innerHTML = escape_html(newCode);
257257
this.highlight();
258-
setTimeout(this.runUpdate, 1);
258+
setTimeout(this.runUpdate.bind(this), 1);
259259
}
260260

261261
updateLanguage(newLanguage) {

0 commit comments

Comments
 (0)