Skip to content

Commit d7b4553

Browse files
save file
1 parent ffae0ec commit d7b4553

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

utils/misc/nodejs-terminal/v3.0/nodejs-terminal-v3.0.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,8 +903,8 @@
903903
console.log('snapshot',type,opt);
904904
if(type=='opt'){
905905

906-
if(opt.id=='add'){
907-
menu_callback.snapshot.add();
906+
if(menu_callback.snapshot[opt.id]){
907+
menu_callback.snapshot[opt.id]();
908908
}
909909

910910
}

0 commit comments

Comments
 (0)