Skip to content

Commit

Permalink
fix-feature-traps-paint-cant-get
Browse files Browse the repository at this point in the history
  • Loading branch information
Masaabu committed Sep 6, 2024
1 parent 1c99f21 commit fa46e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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[
Expand Down

0 comments on commit fa46e4b

Please sign in to comment.