vk init
This commit is contained in:
parent
016406f7f0
commit
f5da175d7b
|
|
@ -57,7 +57,6 @@
|
||||||
<script>
|
<script>
|
||||||
function preloaderEnable() {
|
function preloaderEnable() {
|
||||||
document.querySelector('.lds-default').style = null;
|
document.querySelector('.lds-default').style = null;
|
||||||
vkBridge.send("VKWebAppInit", {});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const intervalId = setInterval(function () {
|
const intervalId = setInterval(function () {
|
||||||
|
|
@ -65,6 +64,7 @@
|
||||||
document.querySelector('canvas');
|
document.querySelector('canvas');
|
||||||
clearInterval(intervalId);
|
clearInterval(intervalId);
|
||||||
resize(document.querySelector('canvas'));
|
resize(document.querySelector('canvas'));
|
||||||
|
vkBridge.send("VKWebAppInit", {});
|
||||||
}
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
new ResizeObserver(() => {
|
new ResizeObserver(() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue