Widget:ContactsPageWidget: различия между версиями
Перейти к навигации
Перейти к поиску
Нет описания правки |
Нет описания правки |
||
| Строка 74: | Строка 74: | ||
const buttons = document.getElementsByClassName(targetDivId); | const buttons = document.getElementsByClassName(targetDivId); | ||
if (buttons. | if (buttons.length > 0) { | ||
for (let index in buttons) { | for (let index in buttons) { | ||
const targetDiv = buttons[index]; | const targetDiv = buttons[index]; | ||
Текущая версия от 02:36, 8 августа 2025
This widget created to hold some JavaScript code for Contacts Button custom behaiour