From fa46e4bd3d97746378e7dba8ce5011b5cdc6f3e0 Mon Sep 17 00:00:00 2001 From: Masaabu Date: Fri, 6 Sep 2024 17:18:05 +0900 Subject: [PATCH] fix-feature-traps-paint-cant-get --- api/vm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/vm.js b/api/vm.js index f587e948..413379e6 100644 --- a/api/vm.js +++ b/api/vm.js @@ -176,7 +176,7 @@ ScratchTools.Scratch.waitForContextMenu = function (info) { }; ScratchTools.Scratch.scratchPaint = function () { - var app = document.querySelector(".paint-editor_mode-selector_28iiQ"); + var app = document.querySelector(".paint-editor_mode-selector_28iiQ")||document.querySelector(".paint-editor_mode-selector_O2uhP"); if (app !== null) { return ( app[