Closed dkwon17 closed 1 year ago
Since document.querySelector can return null (doc), this small PR checks for undefined/null before calling getAttributes
document.querySelector
null
getAttributes
To test this PR:
Since
document.querySelector
can returnnull
(doc), this small PR checks for undefined/null before callinggetAttributes
To test this PR: