Skip to content

Commit 97e6ce1

Browse files
authored
Update vm.js
1 parent fa46e4b commit 97e6ce1

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")||document.querySelector(".paint-editor_mode-selector_O2uhP");
179+
var app = document.querySelector(".paint-editor_mode-selector_28iiQ")||document.querySelector(".paint-editor_mode-selector_O2uhP")||document.querySelector("[class*='paint-editor_mode-selector_']");
180180
if (app !== null) {
181181
return (
182182
app[

0 commit comments

Comments
 (0)