summaryrefslogtreecommitdiff
path: root/ext/js/dom/document-util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-28 13:26:23 -0500
committerGitHub <noreply@github.com>2021-02-28 13:26:23 -0500
commitfce2c51709852eea9dc14efe937537383e9c418d (patch)
tree4cb5ec9be9e424fd8f31c4a56afc63502c7afa39 /ext/js/dom/document-util.js
parentf2d2ba0d25b6276d60001077573e30b60701a2d4 (diff)
Add support for scanning the selected value of <select> elements (#1461)
Diffstat (limited to 'ext/js/dom/document-util.js')
-rw-r--r--ext/js/dom/document-util.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/dom/document-util.js b/ext/js/dom/document-util.js
index 80081aca..393ef294 100644
--- a/ext/js/dom/document-util.js
+++ b/ext/js/dom/document-util.js
@@ -36,6 +36,7 @@ class DocumentUtil {
switch (element.nodeName.toUpperCase()) {
case 'IMG':
case 'BUTTON':
+ case 'SELECT':
return new TextSourceElement(element);
case 'INPUT':
imposterSourceElement = element;