Skip to content

Commit ac98ca4

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent e8d0368 commit ac98ca4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/core/utils/detect-modal-stack.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ export default function detectModalStack(options) {
2323
// in the viewport. since we aren't sure if it is or is not a modal this is
2424
// just our best guess of being one based on convention.
2525

26-
// if (cache.get('isModalOpen')) {
27-
// return cache.get('isModalOpen');
28-
// }
2926

3027
const definiteModals = Array.from(
3128
document.querySelectorAll(

0 commit comments

Comments
 (0)