Skip to content

Commit 6bedd57

Browse files
committed
Fix if
1 parent f6cd9c4 commit 6bedd57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/common-organization.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {initCompLabelEdit} from './comp/LabelEdit.js';
22
import {toggleElem} from '../utils/dom.js';
33

44
export function initCommonOrganization() {
5-
if (!document.querySelectorAll('.organization')) {
5+
if (document.querySelectorAll('.organization').length === 0) {
66
return;
77
}
88

0 commit comments

Comments
 (0)