Skip to content

Commit e3c2caa

Browse files
save file
1 parent d69544a commit e3c2caa

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,15 @@
8383

8484
var libs = {};
8585

86-
window.addEventListener('mousedown', e => console.log('Actual Target:', e.composedPath()[0]),{capture:true});
86+
window.addEventListener('mousedown', e =>{
87+
88+
console.log('Actual Target:', e.composedPath()[0])
89+
if(e.target.nodeName=='IMG'){
90+
e.target.click();
91+
}
92+
93+
94+
},{capture:true});
8795

8896

8997
//:

0 commit comments

Comments
 (0)