You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
Update Layout.js
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user