mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-30 04:28:19 +02:00
Added textarea (#4155)
This commit is contained in:
parent
14084dcf59
commit
b31203d64f
@ -676,7 +676,7 @@
|
|||||||
var els = [];
|
var els = [];
|
||||||
try {
|
try {
|
||||||
var elsList = theDoc.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="reset"])' +
|
var elsList = theDoc.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="reset"])' +
|
||||||
':not([type="button"]):not([type="image"]):not([type="file"]):not([data-bwignore]), select, ' +
|
':not([type="button"]):not([type="image"]):not([type="file"]):not([data-bwignore]), select, textarea, ' +
|
||||||
'span[data-bwautofill]');
|
'span[data-bwautofill]');
|
||||||
els = Array.prototype.slice.call(elsList);
|
els = Array.prototype.slice.call(elsList);
|
||||||
} catch (e) { }
|
} catch (e) { }
|
||||||
@ -1177,7 +1177,7 @@
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
// START MODIFICATION
|
// START MODIFICATION
|
||||||
var elements = Array.prototype.slice.call(selectAllFromDoc('input, select, button, ' +
|
var elements = Array.prototype.slice.call(selectAllFromDoc('input, select, button, textarea, ' +
|
||||||
'span[data-bwautofill]'));
|
'span[data-bwautofill]'));
|
||||||
// END MODIFICATION
|
// END MODIFICATION
|
||||||
var filteredElements = elements.filter(function (o) {
|
var filteredElements = elements.filter(function (o) {
|
||||||
|
Loading…
Reference in New Issue
Block a user