chore: hasOwn polyfill
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vocechat-web",
|
||||
"version": "0.9.1",
|
||||
"version": "0.9.2",
|
||||
"homepage": "https://voce.chat",
|
||||
"dependencies": {
|
||||
"@metamask/onboarding": "^1.0.1",
|
||||
|
||||
@@ -9,10 +9,12 @@ if (!isSupported) {
|
||||
let place = ratio <= 0 && centerIfNeeded ? "center" : "nearest";
|
||||
el.scrollIntoView({
|
||||
block: place,
|
||||
inline: place
|
||||
inline: place,
|
||||
});
|
||||
}
|
||||
this.disconnect();
|
||||
}).observe(this);
|
||||
};
|
||||
}
|
||||
// hasown API
|
||||
"hasOwn" in Object || (Object.hasOwn = Object.call.bind(Object.hasOwnProperty));
|
||||
|
||||
Reference in New Issue
Block a user