mirror of
https://github.com/rxi/lovebird.git
synced 2024-11-15 22:54:21 +00:00
Renamed lovebird.refreshrate -> lovebird.updateinterval
This commit is contained in:
parent
250a4e9a83
commit
f48c77cf95
@ -23,7 +23,7 @@ lovebird.allowhtml = true
|
||||
lovebird.port = 8000
|
||||
lovebird.whitelist = { "127.0.0.1", "192.168.*.*" }
|
||||
lovebird.maxlines = 200
|
||||
lovebird.refreshrate = .5
|
||||
lovebird.updateinterval = .5
|
||||
|
||||
lovebird.pages["index"] = [[
|
||||
<?lua
|
||||
@ -204,7 +204,7 @@ end
|
||||
updateDivContent("status", "disconnected ○");
|
||||
});
|
||||
}
|
||||
setInterval(refreshOutput, <?lua echo(lovebird.refreshrate) ?> * 1000);
|
||||
setInterval(refreshOutput, <?lua echo(lovebird.updateinterval) ?> * 1000);
|
||||
|
||||
/* Environment variable view */
|
||||
var envPath = "";
|
||||
@ -256,7 +256,7 @@ end
|
||||
b.value += p;
|
||||
b.focus();
|
||||
}
|
||||
setInterval(refreshEnv, <?lua echo(lovebird.refreshrate) ?> * 1000);
|
||||
setInterval(refreshEnv, <?lua echo(lovebird.updateinterval) ?> * 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user