Skip to content

Commit 16ccfcd

Browse files
authored
Update web_src/js/utils/dom.js
1 parent f695a01 commit 16ccfcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/utils/dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export function initSubmitEventPolyfill() {
229229
}
230230

231231
/**
232-
* Check if an element is visible.
232+
* Check if an element is visible, equivalent to jQuery's `:visible` pseudo.
233233
* Note: This function doesn't account for all possible visibility scenarios.
234234
* @param {HTMLElement} element The element to check.
235235
* @returns {boolean} True if the element is visible.

0 commit comments

Comments
 (0)