Почему то у меня при регистрации правил в расширении, в консоли вылетает 2 ошибки (хотя и слайдер открывается)
- slider-manager.js:786 BX.SitePanel: anchor rules were created in a different context. This might be a reason for a memory leak.
- Side Panel Wrapper: do not use an old toolbar.
(function () {
BX.namespace('Sliderinfo');
BX.Sliderinfo = {
init: function () {
BX.SidePanel.Instance.bindAnchors({
rules: [
{
condition: ["/test/info/(\\d+)/"],
options: {
width: 980
},
}
]
});
}
}
BX.Sliderinfo.init();
})();