Threading and more

- webui remove restarts
- threading for LedDevice
This commit is contained in:
Paulchen-Panther
2019-01-01 19:47:07 +01:00
parent 7b6df922ea
commit 7352ff4d42
24 changed files with 482 additions and 282 deletions

View File

@@ -91,7 +91,7 @@ function getHashtag()
}
}
function loadContent(event)
function loadContent(event, forceRefresh)
{
var tag;
@@ -104,7 +104,7 @@ function loadContent(event)
else
tag = getHashtag();
if(prevTag != tag)
if(forceRefresh || prevTag != tag)
{
prevTag = tag;
$("#page-content").off();