From 90ec37ce82e047e06beac310d0d0347cdd84371f Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sat, 23 Nov 2019 21:53:33 +0200 Subject: [PATCH] Replace confirm() with context menu window.confirm() blocks the javascript thread and will cause the socket connection to drop --- client/components/ContextMenu.vue | 20 +++++++++++++++----- client/js/helpers/contextMenu.js | 28 ++++++++++++++++++++++++++++ client/js/vue.js | 25 ++++++++++++++++++------- 3 files changed, 61 insertions(+), 12 deletions(-) diff --git a/client/components/ContextMenu.vue b/client/components/ContextMenu.vue index fd07da25..d782d295 100644 --- a/client/components/ContextMenu.vue +++ b/client/components/ContextMenu.vue @@ -35,7 +35,11 @@