Skip to content

Commit d260f4a

Browse files
cheneylewjxlwqq
authored andcommitted
Update Editor.php
缺少分号,导致和后面的js代码混淆产生语法错误
1 parent c19364d commit d260f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Editor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function render()
5151
$('button[type="submit"]').click(function() {
5252
var json = window['editor_{$this->id}'].get()
5353
$('input[id={$this->id}_input]').val(JSON.stringify(json))
54-
})
54+
});
5555
EOT;
5656

5757
return parent::render();

0 commit comments

Comments
 (0)