From 4cb1056f92bf74cd2c4c2f217d843d543b9445b6 Mon Sep 17 00:00:00 2001 From: Muhammad Haroon Date: Tue, 17 Sep 2024 17:40:04 +0500 Subject: [PATCH] update block.js --- js/block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/block.js b/js/block.js index 7f090528d7..9f90cc41e0 100644 --- a/js/block.js +++ b/js/block.js @@ -3139,7 +3139,7 @@ class Block { this.blocks.mouseDownTime = new Date().getTime(); if (this.name === "media" || this.name === "loadFile") { this._doOpenMedia(thisBlock); - } else { + } else if (!("ctrlKey" in event.nativeEvent && event.nativeEvent.ctrlKey)) { this._changeLabel(); } }