Remove Dishwasher Code

This commit is contained in:
Michael Teeuw
2015-04-05 11:44:40 +02:00
parent c7f72e768d
commit 67447839ee
2 changed files with 12 additions and 12 deletions

View File

@@ -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()