summaryrefslogtreecommitdiff
path: root/ext/fg/js/source-element.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-10 20:12:07 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-10 20:12:07 -0800
commit5150cdbf72421f6c37f27d93fb8965dc38bea625 (patch)
tree0637e9b23e5c5a9e4946b896794f4083398cdef4 /ext/fg/js/source-element.js
parent19ffd1a0d35afbd06d5c6cb869ff13728d6ea483 (diff)
misc bug fixes, version bump1.1.2
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 || '';
}
}