alpha_full/admin/debug.sticky.js
2026-04-06 22:58:51 +02:00

11 lines
409 B
JavaScript
Executable File

let parent = document.querySelector('#zoneFormWbm').parentElement;
while (parent) {
const hasOverflow = getComputedStyle(parent).overflow;
if (hasOverflow !== 'visible') {
alert('overflow:' + hasOverflow + ' id :' + (parent.id ? ' id: #' + parent.id : '') +(parent.className ? ' class: .' + parent.className : '') + ' tag: ' + parent.tagName.toLowerCase() );
}
parent = parent.parentElement;
}