aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-10-16 23:49:40 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2019-10-16 23:49:40 +0300
commit5b98f3ea6ed31e3f2edc2912ab06598964253fac (patch)
tree772826eb9fd54d2cbe0c89d472dda6bc81d53789 /ext
parent16521fec935845828b7e08baf1668657bb5a7cef (diff)
add missing return to fix vertical text mode
Diffstat (limited to 'ext')
-rw-r--r--ext/fg/js/source.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/source.js b/ext/fg/js/source.js
index a483952e..c3da9f46 100644
--- a/ext/fg/js/source.js
+++ b/ext/fg/js/source.js
@@ -233,7 +233,7 @@ class TextSourceRange {
const style = window.getComputedStyle(element);
const writingMode = style.writingMode;
if (typeof writingMode === 'string') {
- TextSourceRange.normalizeWritingMode(writingMode);
+ return TextSourceRange.normalizeWritingMode(writingMode);
}
}
return 'horizontal-tb';