Skip to content

Commit

Permalink
[vim bindings] Make compatible with Trusted Types
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana authored and marijnh committed Jul 20, 2021
1 parent 3362178 commit 10510ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keymap/vim.js
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@
this.latestRegister = registerName;
if (cm.openDialog) {
this.onRecordingDone = cm.openDialog(
'(recording)['+registerName+']', null, {bottom:true});
document.createTextNode('(recording)['+registerName+']'), null, {bottom:true});
}
this.isRecording = true;
}
Expand Down

0 comments on commit 10510ba

Please sign in to comment.