mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 12:36:37 +02:00
Removed memory leak
This commit is contained in:
parent
40d059311a
commit
70a16e55a6
3 changed files with 23 additions and 18 deletions
|
@ -37,6 +37,10 @@
|
|||
var oldBorder = this.style.border;
|
||||
this.style.border = "2px dashed red";
|
||||
var confirmText = "askForPermission";
|
||||
// try {throw new Error();}
|
||||
// catch (e){
|
||||
// console.log(e.stack.split(/\s*(?:-?>|@)\s*/));
|
||||
// }
|
||||
var allow = confirm(confirmText);
|
||||
this.style.border = oldBorder;
|
||||
if (allow){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue