Skip to content

Commit df8a3a6

Browse files
authored
fix: Fix vim comments (#188)
- Changed the comments to be updated to the file id instead of the solution id
1 parent 2f813f5 commit df8a3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lms/static/keyboard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function listenToKeys() {
9696
`.known-comment[data-vimkey="${key}"]`
9797
).dataset.commentid;
9898
if (commentId && lineNumber) {
99-
window.sendExistsComment(window.solutionId, lineNumber, commentId);
99+
window.sendExistsComment(window.fileId, lineNumber, commentId);
100100
resetStatus();
101101
}
102102
} else if (letterMode && (key == "`" || key == ";")) {

0 commit comments

Comments
 (0)