Skip to content

Commit 04546f9

Browse files
GrabowskiMKamilSznajdrowicz
authored andcommitted
change names
1 parent 3e09eca commit 04546f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bundle/Resources/public/js/scripts/helpers/modal.helper.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ const controlZIndex = (container) => {
1111
document.body.dispatchEvent(new CustomEvent('ibexa-control-z-index:events-attached'));
1212
};
1313

14-
const betterControlZIndex = (items, listenerContainer) => {
14+
const controlManyZIndexes = (items, listenerContainer) => {
1515
const listenersAbortController = new AbortController();
1616
const containersInitialZIndexes = new Map();
17-
const removeControlZIndexListeners = () => {
17+
const removeControlManyZIndexesListeners = () => {
1818
listenersAbortController.abort();
1919
listenerContainer.dispatchEvent(new CustomEvent('ibexa-control-z-index:events-detached'));
2020
}
@@ -38,8 +38,8 @@ const betterControlZIndex = (items, listenerContainer) => {
3838
listenerContainer.dispatchEvent(new CustomEvent('ibexa-control-z-index:events-attached'));
3939

4040
return {
41-
removeControlZIndexListeners,
41+
removeControlManyZIndexesListeners,
4242
}
4343
}
4444

45-
export { controlZIndex, betterControlZIndex };
45+
export { controlZIndex, controlManyZIndexes };

0 commit comments

Comments
 (0)