aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/source-element.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/source-element.js')
-rw-r--r--ext/fg/js/source-element.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/source-element.js b/ext/fg/js/source-element.js
index d3cc42a1..69fbc5ab 100644
--- a/ext/fg/js/source-element.js
+++ b/ext/fg/js/source-element.js
@@ -39,7 +39,7 @@ class TextSourceElement {
case 'IMG':
return this.element.getAttribute('alt');
default:
- return this.element.value;
+ return this.element.value || '';
}
}