From ed8aafed4ba8359e1f49df3c16ef039b521a60b2 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 6 May 2026 14:33:02 +0200 Subject: [PATCH] chore: lint compliance --- www/common/messenger-ui.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/www/common/messenger-ui.js b/www/common/messenger-ui.js index 62caade29..099f3de99 100644 --- a/www/common/messenger-ui.js +++ b/www/common/messenger-ui.js @@ -685,6 +685,7 @@ define([ } }; + let $dropdown, muteOption, unmuteOption; var rebuildDropdown = function () { if (!$dropdown || !$dropdown.setOptions) { return; } var opts = []; @@ -700,7 +701,7 @@ define([ $dropdown.find('.cp-dropdown-content').hide(); }; - var muteOption = { + muteOption = { tag: 'a', content: [Icons.get('mute'), h('span', Messages.contacts_mute)], action: function () { @@ -713,7 +714,7 @@ define([ return true; } }; - var unmuteOption = { + unmuteOption = { tag: 'a', content: [Icons.get('notification'), h('span', Messages.contacts_unmute || 'Unmute')], action: function () { @@ -734,7 +735,7 @@ define([ dropdownOptions.push(removeOption); } - var $dropdown = UIElements.createDropdown({ + $dropdown = UIElements.createDropdown({ iconCls: 'settings', options: dropdownOptions, buttonCls: 'cp-app-contacts-dropdown-btn',