Skip to content

Commit

Permalink
same
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Sep 24, 2024
1 parent 6737b33 commit a275da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktop/js/mqtt2.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ $('.eqLogicAttr[data-l1key=configuration][data-l2key=device]').off('change').on(
}
if($('.li_eqLogic.active').attr('data-eqlogic_id') != '' && $(this).value() != ''){
let img = $('.eqLogicAttr[data-l1key=configuration][data-l2key=device] option:selected').attr('data-img')
if(img != undefined){
if(img){
$('#img_device').attr("src", 'plugins/mqtt2/core/config/devices/'+img);
}else{
$('#img_device').attr("src",'plugins/mqtt2/plugin_info/mqtt2_icon.png');
Expand Down

0 comments on commit a275da8

Please sign in to comment.