aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/float.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-09-24 11:01:40 -0700
committerAlex Yatskov <alex@foosoft.net>2017-09-24 11:01:40 -0700
commit00c20aed4253da6506194d90a6102920d3235ced (patch)
treecfb2fd51a441241cb333a208b3ce3130add93953 /ext/fg/js/float.js
parent3a1aad07d61411f634e86f905babd6fbbac2eae1 (diff)
parent29812c1b036d3eae9b5b222219f556aec712c3e8 (diff)
Merge branch 'master' into firefox-amo
Diffstat (limited to 'ext/fg/js/float.js')
-rw-r--r--ext/fg/js/float.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/float.js b/ext/fg/js/float.js
index 22374f8b..ff50483d 100644
--- a/ext/fg/js/float.js
+++ b/ext/fg/js/float.js
@@ -27,7 +27,7 @@ class DisplayFloat extends Display {
if (window.yomichan_orphaned) {
this.onOrphaned();
} else {
- window.alert(`Error: ${error}`);
+ window.alert(`Error: ${error.toString ? error.toString() : error}`);
}
}