mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-24 08:52:18 +02:00
Update Layout.js
This commit is contained in:
parent
8948e8c6e3
commit
1b48938fcd
@ -39,13 +39,6 @@ export default function CustomLayout(props) {
|
||||
const script = document.createElement('script');
|
||||
script.innerHTML = `
|
||||
window.yaContextCb.push(() => {
|
||||
Ya.Context.AdvManager.destroy('yandex_rtb_R-A-12294791-5'); // Удаляем предыдущий экземпляр блока
|
||||
Ya.Context.AdvManager.render({
|
||||
"blockId": "R-A-12294791-3",
|
||||
"type": "floorAd",
|
||||
"platform": "touch"
|
||||
});
|
||||
|
||||
Ya.Context.AdvManager.render({
|
||||
"blockId": "R-A-12294791-5",
|
||||
"renderTo": "yandex_rtb_R-A-12294791-5"
|
||||
|
Loading…
Reference in New Issue
Block a user