mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 16:46:35 +00:00
fhemweb_weekprofile: show correct weekdays
git-svn-id: https://svn.fhem.de/fhem/trunk@10250 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7973e1ec9f
commit
0801520653
@ -133,7 +133,7 @@ function FW_weekprofileShow(widget)
|
||||
|
||||
var table = widget.CONTENT;
|
||||
for (var i = 0; i < shortDays.length; ++i) {
|
||||
$(table).append('<tr class="'+ ( (i+1)%2==0 ? 'even':'odd')+ '"><td>'+shortDays[i]+'</td></tr>');
|
||||
$(table).append('<tr class="'+ ( (i+1)%2==0 ? 'even':'odd')+ '"><td>'+widget.WEEKDAYS[i]+'</td></tr>');
|
||||
|
||||
var tr = $(table).find("tr").get(i);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user