forked from Chaospott/site
fix status link
This commit is contained in:
parent
e605afe3c8
commit
f395eefb2a
@ -30,7 +30,7 @@
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<script>
|
||||
$.getJSON("https://newstatus.chaospott.de/api").done(function(data) {
|
||||
$.getJSON("https://status.chaospott.de/api/").done(function(data) {
|
||||
if(!data.sensors.door_locked[0].value || !data.sensors.door_locked[1].value ) {
|
||||
$( "#status_open" ).css( "display", "block" );
|
||||
$( "#status_bar" ).css( "borderColor", "#5CB85C" );
|
||||
|
Loading…
Reference in New Issue
Block a user