1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-01 00:10:39 +02:00

Remove button from getFormElements query selector

This commit is contained in:
Kyle Spearrin 2017-10-02 10:32:49 -04:00
parent 1e18827b61
commit 81d7b87507

View File

@ -34,6 +34,7 @@
1. Populate isFirefox
2. Remove isChrome and isSafari since they are not used.
3. Unminify and format to meet Mozilla review requirements.
4. Remove button from getFormElements query selector
*/
function collect(document, undefined) {
@ -550,7 +551,7 @@
function getFormElements(theDoc) {
var els = [];
try {
els = theDoc.querySelectorAll('input, select, button');
els = theDoc.querySelectorAll('input, select');
} catch (e) { }
return els;
}