1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 12:36:37 +02:00

Removed memory leak

This commit is contained in:
kkapsner 2014-10-04 14:26:05 +02:00
parent 40d059311a
commit 70a16e55a6
3 changed files with 23 additions and 18 deletions

View file

@ -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){