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

Used api property to display correct text in ask mode.

This commit is contained in:
kkapsner 2018-06-21 00:13:32 +02:00
parent 1abc681e3f
commit 0f44820e3d
4 changed files with 49 additions and 16 deletions

View file

@ -232,10 +232,12 @@
funcStatus.mode = ask({
window: window,
type: changedFunction.type,
api: changedFunction.api,
canvas: this instanceof HTMLCanvasElement?
this:
(
this.canvas instanceof HTMLCanvasElement?
this &&
(this.canvas instanceof HTMLCanvasElement)?
this.canvas:
false
),