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 b2e1a81 commit b7736dbCopy full SHA for b7736db
src/getAttribute.js
@@ -28,7 +28,7 @@ Element.prototype.getAttribute = function (name) {
28
'$session_id': 'session_id'
29
};
30
31
- if (localKeys[value]) {
+ if (localKeys.hasOwnProperty(value)) {
32
let newValue = localStorage.getItem(localKeys[value]);
33
34
if (!attributes.has(localKeys[value])) {
0 commit comments