We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87f2dfd commit a214197Copy full SHA for a214197
elements/pfelement/src/pfelement.js
@@ -935,7 +935,7 @@ class PFElement extends HTMLElement {
935
static _convertSelectorsToArray(selectors) {
936
if (selectors) {
937
if (typeof selectors === "string") return selectors.split(",");
938
- else if (typeof selectors === "array" || typeof selectors === "object") return selectors;
+ else if (typeof selectors === "object") return selectors;
939
else {
940
this.warn(`selectors should be provided as a string, array, or object; received: ${typeof selectors}.`);
941
}
0 commit comments