Remove button from getFormElements query selector
This commit is contained in:
parent
1e18827b61
commit
81d7b87507
|
@ -34,6 +34,7 @@
|
||||||
1. Populate isFirefox
|
1. Populate isFirefox
|
||||||
2. Remove isChrome and isSafari since they are not used.
|
2. Remove isChrome and isSafari since they are not used.
|
||||||
3. Unminify and format to meet Mozilla review requirements.
|
3. Unminify and format to meet Mozilla review requirements.
|
||||||
|
4. Remove button from getFormElements query selector
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function collect(document, undefined) {
|
function collect(document, undefined) {
|
||||||
|
@ -550,7 +551,7 @@
|
||||||
function getFormElements(theDoc) {
|
function getFormElements(theDoc) {
|
||||||
var els = [];
|
var els = [];
|
||||||
try {
|
try {
|
||||||
els = theDoc.querySelectorAll('input, select, button');
|
els = theDoc.querySelectorAll('input, select');
|
||||||
} catch (e) { }
|
} catch (e) { }
|
||||||
return els;
|
return els;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue