Skip to content

Commit 5d3a415

Browse files
authored
Update userscript.js
1 parent bd9b331 commit 5d3a415

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/addons/addons/editor-animations/userscript.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,11 @@ export default async function({ addon }) {
390390

391391
const ogSBCustomPrompt = ScratchBlocks.customPrompt;
392392
ScratchBlocks.customPrompt = function(...args) {
393-
ogSBCustomPrompt.call(this, ...args);
393+
const modal = ogSBCustomPrompt.call(this, ...args);
394394

395395
handleOpenAnimation("modal");
396396
attachCloseHijack("modal");
397+
return modal;
397398
}
398399

399400
if (sbEverPatched) return;

0 commit comments

Comments
 (0)