|  | @@ -305,6 +305,9 @@
 | 
	
		
			
				|  |  |  	<script src="js/mui.min.js"></script>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	<script>
 | 
	
		
			
				|  |  | +		$(function() {
 | 
	
		
			
				|  |  | +			$('input[type="text"]').attr('disabled', 'disabled');
 | 
	
		
			
				|  |  | +		});
 | 
	
		
			
				|  |  |  		$("#returns").click(function() {
 | 
	
		
			
				|  |  |  			window.location.href = "index.html";
 | 
	
		
			
				|  |  |  		})
 | 
	
	
		
			
				|  | @@ -318,24 +321,20 @@
 | 
	
		
			
				|  |  |  		$("body").on("touchmove", function(e) {
 | 
	
		
			
				|  |  |  			e.preventDefault();
 | 
	
		
			
				|  |  |  			moveEndX = e.originalEvent.changedTouches[0].pageX,
 | 
	
		
			
				|  |  | -			moveEndY = e.originalEvent.changedTouches[0].pageY,
 | 
	
		
			
				|  |  | -			X = moveEndX - startX,
 | 
	
		
			
				|  |  | -			Y = moveEndY - startY;
 | 
	
		
			
				|  |  | -	    if ( Math.abs(X) > Math.abs(Y) && X > 0 ) {
 | 
	
		
			
				|  |  | -	     window.location.href = "remote.html"; //right
 | 
	
		
			
				|  |  | -	    }
 | 
	
		
			
				|  |  | -	    else if ( Math.abs(X) > Math.abs(Y) && X < 0 ) {
 | 
	
		
			
				|  |  | -	       window.location.href = "index.html";  //left
 | 
	
		
			
				|  |  | -	    }
 | 
	
		
			
				|  |  | -	    else if ( Math.abs(Y) > Math.abs(X) && Y > 0) {
 | 
	
		
			
				|  |  | -	      return //bottom
 | 
	
		
			
				|  |  | -	    }
 | 
	
		
			
				|  |  | -	    else if ( Math.abs(Y) > Math.abs(X) && Y < 0 ) {
 | 
	
		
			
				|  |  | -	      return //top
 | 
	
		
			
				|  |  | -	    }
 | 
	
		
			
				|  |  | -	    else{
 | 
	
		
			
				|  |  | -	      return
 | 
	
		
			
				|  |  | -	    }
 | 
	
		
			
				|  |  | +				moveEndY = e.originalEvent.changedTouches[0].pageY,
 | 
	
		
			
				|  |  | +				X = moveEndX - startX,
 | 
	
		
			
				|  |  | +				Y = moveEndY - startY;
 | 
	
		
			
				|  |  | +			if (Math.abs(X) > Math.abs(Y) && X > 0) {
 | 
	
		
			
				|  |  | +				window.location.href = "remote.html"; //right
 | 
	
		
			
				|  |  | +			} else if (Math.abs(X) > Math.abs(Y) && X < 0) {
 | 
	
		
			
				|  |  | +				window.location.href = "index.html"; //left
 | 
	
		
			
				|  |  | +			} else if (Math.abs(Y) > Math.abs(X) && Y > 0) {
 | 
	
		
			
				|  |  | +				return //bottom
 | 
	
		
			
				|  |  | +			} else if (Math.abs(Y) > Math.abs(X) && Y < 0) {
 | 
	
		
			
				|  |  | +				return //top
 | 
	
		
			
				|  |  | +			} else {
 | 
	
		
			
				|  |  | +				return
 | 
	
		
			
				|  |  | +			}
 | 
	
		
			
				|  |  |  		});
 | 
	
		
			
				|  |  |  	</script>
 | 
	
		
			
				|  |  |  </html>
 |