Skip to content

Commit 5f4bfe1

Browse files
Merge pull request #19913 from Snuffleupagus/openAction-array-validate
Improve validation in the `Catalog.prototype.openAction` getter
2 parents 293506a + f26f984 commit 5f4bfe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/catalog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ class Catalog {
10291029
} else if (resultObj.action) {
10301030
openAction.action = resultObj.action;
10311031
}
1032-
} else if (Array.isArray(obj)) {
1032+
} else if (isValidExplicitDest(obj)) {
10331033
openAction.dest = obj;
10341034
}
10351035
return shadow(

0 commit comments

Comments
 (0)