From 3b19d4518aedbc28be5e37bfae845cb9a9c3b3bd Mon Sep 17 00:00:00 2001 From: Gnome Ann <> Date: Mon, 27 Sep 2021 15:57:07 -0400 Subject: [PATCH] Remove "Desktop only" from application.js comments --- static/application.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/application.js b/static/application.js index 197c0494..a2a8967d 100644 --- a/static/application.js +++ b/static/application.js @@ -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 function chunkOnDOMMutate(mutations, observer) { 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) { if(!gametext_bound) { return; @@ -951,7 +951,7 @@ function chunkOnSelectionChange(event) { }, 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 function chunkOnFocusOut(event) { if(!gametext_bound || event.target !== gametext) { @@ -1347,7 +1347,7 @@ $(document).ready(function(){ connect_status.addClass("color_orange"); }); - // Register editing events (desktop) + // Register editing events $(gametext).on('keydown', chunkOnKeyDown ).on('paste',