Skip to content

Commit

Permalink
Fix display of values on WebPage
Browse files Browse the repository at this point in the history
  • Loading branch information
Domochip committed Jan 29, 2022
1 parent 985e7b6 commit 2ec6def
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/data/status1.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ <h3 class="content-subhead">Home Automation Status</h3>
for(k in liveData){
kForId=(/[^a-zA-Z]/.test(k[0]) ? 'a' : '')+k; //k[0] is not in a-zA-Z then we need to add 'a'
kForId=kForId.replace(/ /g,'_');
kForId=kForId.replace(/\+/g,'plus');
if($(qsp+'#'+kForId) != undefined){
var existingElement= $(qsp+'#'+kForId+'Value');
if(existingElement.tagName=='INPUT'){
Expand Down

0 comments on commit 2ec6def

Please sign in to comment.