Skip to content

Commit 55f3346

Browse files
committed
bah
1 parent 475ab5d commit 55f3346

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎v3/js/opt-frontend-common.js‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ function initTogetherJS() {
303303
}
304304

305305
$("#codeInputWarnings").html('<span style="color: #e93f34; font-weight: bold">\
306-
Hold on, someone else is typing ...</span>');
306+
Someone is typing ...</span>');
307307

308308
$.doTimeout('codeMirrorWarningTimeout', 1000, function() { // debounce
309309
$("#codeInputWarnings").html($("#codeInputWarnings").data('orig-html'));
@@ -654,17 +654,13 @@ function genericOptFrontendReady() {
654654
});
655655
}
656656
else {
657-
// don't do any syncing on change for Ace, since I can't get it to
658-
// behave quite like the CodeMirror version
659-
/*
660657
pyInputAceEditor.getSession().on("change", function(e) {
661658
// unfortunately, Ace doesn't detect whether a change was caused
662659
// by a setValue call
663660
if (TogetherJS.running) {
664661
TogetherJS.send({type: "codemirror-edit"});
665662
}
666663
});
667-
*/
668664
}
669665

670666

0 commit comments

Comments
 (0)