aboutsummaryrefslogtreecommitdiff
path: root/src/modules/image/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/image/index.ts')
-rw-r--r--src/modules/image/index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts
index cf59627d..6a2d6144 100644
--- a/src/modules/image/index.ts
+++ b/src/modules/image/index.ts
@@ -30,6 +30,7 @@ export class ImageModule {
if (name === 'constructor' || typeof this[name] !== 'function') {
continue;
}
+
this[name] = this[name].bind(this);
}