summaryrefslogtreecommitdiff
path: root/ext/fg/js/float.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-08-14 23:22:37 -0700
committerAlex Yatskov <alex@foosoft.net>2017-08-14 23:22:37 -0700
commit211e5d1155e82ccbbc188dc889600459a62229fb (patch)
treed5d17976dabe7ae8c9af8a3286844fd8e9663524 /ext/fg/js/float.js
parent61dde5b3b74030d7b01c195751a54e9dcacdb6bb (diff)
cleanup
Diffstat (limited to 'ext/fg/js/float.js')
-rw-r--r--ext/fg/js/float.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fg/js/float.js b/ext/fg/js/float.js
index 59293239..22374f8b 100644
--- a/ext/fg/js/float.js
+++ b/ext/fg/js/float.js
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2016 Alex Yatskov <alex@foosoft.net>
+ * Copyright (C) 2016-2017 Alex Yatskov <alex@foosoft.net>
* Author: Alex Yatskov <alex@foosoft.net>
*
* This program is free software: you can redistribute it and/or modify
@@ -20,7 +20,7 @@
class DisplayFloat extends Display {
constructor() {
super($('#spinner'), $('#definitions'));
- $(window).on('message', e => this.onMessage(e));
+ $(window).on('message', utilAsync(this.onMessage.bind(this)));
}
onError(error) {