Skip to content

Commit fa46e4b

Browse files
committed
fix-feature-traps-paint-cant-get
1 parent 1c99f21 commit fa46e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/vm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ ScratchTools.Scratch.waitForContextMenu = function (info) {
176176
};
177177

178178
ScratchTools.Scratch.scratchPaint = function () {
179-
var app = document.querySelector(".paint-editor_mode-selector_28iiQ");
179+
var app = document.querySelector(".paint-editor_mode-selector_28iiQ")||document.querySelector(".paint-editor_mode-selector_O2uhP");
180180
if (app !== null) {
181181
return (
182182
app[

0 commit comments

Comments
 (0)