aboutsummaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-27 17:42:36 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 22:39:26 -0500
commitdbbcfa5739d10a6e45eb6e8b964e6a576431ff20 (patch)
tree6f80819e1776207b5bd958634391dbde1db06253 /ext/fg
parentc53947a94acdcadf108447e1b559af48c407f52b (diff)
Only use Display.setContent
Diffstat (limited to 'ext/fg')
-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 513d246b..c550579d 100644
--- a/ext/fg/js/float.js
+++ b/ext/fg/js/float.js
@@ -35,7 +35,7 @@ class DisplayFloat extends Display {
onError(error) {
if (this._orphaned) {
- this.setContentOrphaned();
+ this.setContent('orphaned');
} else {
logError(error, true);
}