Skip to content

Commit

Permalink
[BasicUI] Remove a useless call to function reloadIcon (slider widget) (
Browse files Browse the repository at this point in the history
openhab#2578)

Follow up openhab#2535

The function reloadIcon is already called by the function setValue at
line 636 just before calling setValuePrivate.

The icon continues being refreshed while moving the slider except if
releaseOnly parameter is set.

Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo authored May 18, 2024
1 parent d8016b6 commit bcfd55f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bundles/org.openhab.ui.basic/web-src/smarthome.js
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,6 @@
_t.valueNode.innerHTML = value;
}
if (_t.locked) {
_t.reloadIcon(itemState);
return;
}
if (value.indexOf(" ") > 0) {
Expand Down

0 comments on commit bcfd55f

Please sign in to comment.