diff options
Diffstat (limited to 'web_src/js/features/colorpicker.js')
-rw-r--r-- | web_src/js/features/colorpicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/colorpicker.js b/web_src/js/features/colorpicker.js index 6d00d908c9..a85c04de41 100644 --- a/web_src/js/features/colorpicker.js +++ b/web_src/js/features/colorpicker.js @@ -1,7 +1,7 @@ import {createTippy} from '../modules/tippy.js'; export async function initColorPickers() { - const els = document.getElementsByClassName('js-color-picker-input'); + const els = document.querySelectorAll('.js-color-picker-input'); if (!els.length) return; await Promise.all([ |