Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timmysiauw committed Dec 10, 2016
1 parent 215477c commit 6a5050b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,13 @@ var modemap = function() {
dayhr = dayhr ? 12 : dayhr

daylight_name = daylight_to_name[Math.floor((wkhr % 24) / 12)]
day_name = day_to_name[Math.floor(wkhr / 7)]

day_name = day_to_name[Math.floor(wkhr / 24)]

$("#" + map_id + "-wkhr-display").text(day_name + " " + String(dayhr) + daylight_name)
})
}).trigger("change")

plot_wkhr(0)
//plot_wkhr(0)
}

}
Expand Down

0 comments on commit 6a5050b

Please sign in to comment.