From b5ca5de485610d6e130ca36a3ad74c7c84a56527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 17 Sep 2025 11:41:30 +0200 Subject: [PATCH] Use && as the boolean operator instead of & The typo was introduced in d5338ef23267 --- sao/src/view/tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sao/src/view/tree.js b/sao/src/view/tree.js index 43b86f7636..d55b64dc4f 100644 --- a/sao/src/view/tree.js +++ b/sao/src/view/tree.js @@ -916,7 +916,7 @@ this.display_size = Sao.config.display_size; } } - if (!this.display_size & + if (!this.display_size && (!jQuery.isEmptyObject(selected) || !jQuery.isEmptyObject(expanded))) { this.display_size = Sao.config.display_size;