Skip to content
Snippets Groups Projects
Commit 648eb4ea authored by Lukas Ruge's avatar Lukas Ruge
Browse files

ok doch nicht

parent d0b7b6e6
No related branches found
No related tags found
No related merge requests found
Pipeline #9308 passed
......@@ -46,7 +46,6 @@ applyToggle('.list--nav', '.button', 640)
</script>
<script>
var space_is_open = false;
$(document).ready(function(){
spaceopen();
......@@ -59,7 +58,6 @@ function spaceopen() {
$.get( "https://status.nobreakspace.org/spaceapi.json", function( data ) {
if(data.open) {
space_is_open = true;
$("#spaceopen").css( "border", "3px solid green" );
$("#spaceopen").html("<div style='float:left'><img src='{{ site.baseurl }}/assets/open.png' width='35'></div>Der Nbsp ist offen!<br><div style='text-align: right;'><a href='https://status.nobreakspace.org' target='_blank' style='color: #EAEAEA;'>Status</a></div>");
$("#spaceopenmobile").css( "border", "3px solid green" );
......@@ -96,7 +94,6 @@ function shuffleArray(array) {
}
function presence() {
if(space_is_open) {
$.getJSON( "{{site.presence_service}}", function( data ) {
console.log(data)
shuffleArray(data);
......@@ -119,7 +116,6 @@ function presence() {
$("#presence_mobile" ).append('<img class="gravatar" src="https://chaotikum.org/assets/presence/plusplus.png" style="margin-left: -5px;"/>');
}
});
}
}
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment