Skip to content

Commit 08b21e8

Browse files
committed
Remove redundant if
1 parent 6bedd57 commit 08b21e8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

web_src/js/features/common-organization.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ import {initCompLabelEdit} from './comp/LabelEdit.js';
22
import {toggleElem} from '../utils/dom.js';
33

44
export function initCommonOrganization() {
5-
if (document.querySelectorAll('.organization').length === 0) {
6-
return;
7-
}
8-
95
const orgNameInput = document.querySelector('.organization.settings.options #org_name');
106
if (!orgNameInput) return;
117
orgNameInput.addEventListener('input', function () {

0 commit comments

Comments
 (0)