Refreshing made faster ;)

master
Thierry Degeling 2014-07-20 22:52:23 +02:00
parent 38d2a4b017
commit 501f8dc7c7
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,6 @@ function OWMIcon( imageCode ) {
function l2status() {
$('.status').removeClass('open').removeClass('closed');
var request = $.ajax({
type: 'get',
url: 'https://www.hackerspace.lu/od/',
@ -201,6 +199,8 @@ function l2status() {
var status = JSON.parse( response.responseText );
$('.status').removeClass('open').removeClass('closed');
if ( status.open ) {
$('.status').addClass('open').text('Open');
} else {