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

Added showCanvasWhileAsking

Fixes #175
This commit is contained in:
kkapsner 2018-01-04 13:36:18 +01:00
parent ab19ebd2c6
commit 77e079e5cc
7 changed files with 88 additions and 2 deletions

View file

@ -232,7 +232,13 @@
funcStatus.mode = ask({
window: window,
type: changedFunction.type,
canvas: this,
canvas: this instanceof HTMLCanvasElement?
this:
(
this.canvas instanceof HTMLCanvasElement?
this.canvas:
false
),
errorStack: error.stack
});
}