Widget:ContactsPageWidget: различия между версиями
Перейти к навигации
Перейти к поиску
Нет описания правки |
Нет описания правки |
||
| (не показана 1 промежуточная версия этого же участника) | |||
| Строка 61: | Строка 61: | ||
} | } | ||
window. | window.onload = (event) => { | ||
console.log("Page is fully loaded"); | console.log("Page is fully loaded"); | ||
| Строка 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