mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-07 05:01:39 +02:00
0.7.2
* fix HMS-800 and HMS-1000 assignments #981 * make nrf enabled all the time for ESP8266 * fix menu item `active` highlight for 'API' and 'Doku' * fix MqTT totals issue #927, #980 * reduce maximum number of inverters to 4 for ESP8266, increase to 16 for ESP32
This commit is contained in:
parent
f0848ecfb4
commit
53853f8429
7 changed files with 25 additions and 7 deletions
|
@ -78,8 +78,10 @@ function parseNav(obj) {
|
|||
if(i == 2)
|
||||
continue;
|
||||
var l = document.getElementById("nav"+i);
|
||||
if(window.location.pathname == "/" + l.href.substring(0, l.href.indexOf("?")).split('/').pop())
|
||||
l.classList.add("active");
|
||||
if(window.location.pathname == "/" + l.href.substring(0, l.href.indexOf("?")).split('/').pop()) {
|
||||
if((i != 8 )&& (i != 9))
|
||||
l.classList.add("active");
|
||||
}
|
||||
|
||||
if(obj["menu_protEn"]) {
|
||||
if(obj["menu_prot"]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue