Remove "Desktop only" from application.js comments

This commit is contained in:
Gnome Ann 2021-09-27 15:57:07 -04:00
parent c3781e0e2f
commit 3b19d4518a
1 changed files with 4 additions and 4 deletions

View File

@ -907,7 +907,7 @@ function highlightEditingChunks() {
} }
} }
// (Desktop client only) This gets run every time the text in a chunk is edited // This gets run every time the text in a chunk is edited
// or a chunk is deleted // or a chunk is deleted
function chunkOnDOMMutate(mutations, observer) { function chunkOnDOMMutate(mutations, observer) {
if(!gametext_bound) { if(!gametext_bound) {
@ -938,7 +938,7 @@ function chunkOnPaste(event) {
} }
} }
// (Desktop client only) This gets run every time the caret moves in the editor // This gets run every time the caret moves in the editor
function chunkOnSelectionChange(event) { function chunkOnSelectionChange(event) {
if(!gametext_bound) { if(!gametext_bound) {
return; return;
@ -951,7 +951,7 @@ function chunkOnSelectionChange(event) {
}, 2); }, 2);
} }
// (Desktop client only) This gets run when you defocus the editor by clicking // This gets run when you defocus the editor by clicking
// outside of the editor or by pressing escape or tab // outside of the editor or by pressing escape or tab
function chunkOnFocusOut(event) { function chunkOnFocusOut(event) {
if(!gametext_bound || event.target !== gametext) { if(!gametext_bound || event.target !== gametext) {
@ -1347,7 +1347,7 @@ $(document).ready(function(){
connect_status.addClass("color_orange"); connect_status.addClass("color_orange");
}); });
// Register editing events (desktop) // Register editing events
$(gametext).on('keydown', $(gametext).on('keydown',
chunkOnKeyDown chunkOnKeyDown
).on('paste', ).on('paste',