From 67447839ee95529f7a23cab4a789dd862459f783 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Sun, 5 Apr 2015 11:44:40 +0200 Subject: [PATCH] Remove Dishwasher Code --- index.php | 4 ++-- js/main.js | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/index.php b/index.php index c04c9a69..9b53f5d5 100644 --- a/index.php +++ b/index.php @@ -15,7 +15,7 @@
-
Vaatwasser is klaar!
+
@@ -28,7 +28,7 @@ - + diff --git a/js/main.js b/js/main.js index 44d0e824..0a51f0b0 100755 --- a/js/main.js +++ b/js/main.js @@ -49,16 +49,16 @@ jQuery(document).ready(function($) { moment.lang(lang); //connect do Xbee monitor - var socket = io.connect('http://rpi-alarm.local:8082'); - socket.on('dishwasher', function (dishwasherReady) { - if (dishwasherReady) { - $('.dishwasher').fadeIn(2000); - $('.lower-third').fadeOut(2000); - } else { - $('.dishwasher').fadeOut(2000); - $('.lower-third').fadeIn(2000); - } - }); + // var socket = io.connect('http://rpi-alarm.local:8082'); + // socket.on('dishwasher', function (dishwasherReady) { + // if (dishwasherReady) { + // $('.dishwasher').fadeIn(2000); + // $('.lower-third').fadeOut(2000); + // } else { + // $('.dishwasher').fadeOut(2000); + // $('.lower-third').fadeIn(2000); + // } + // }); (function checkVersion()