forked from marva/sumorobot-web
		
	Robot id length from 8 to 6
This commit is contained in:
		@@ -206,7 +206,7 @@ window.addEventListener('load', function() {
 | 
			
		||||
    $('.btn-robot-go').click(function() {
 | 
			
		||||
        // Get and validate the selected robot ID
 | 
			
		||||
        var robotId = $('#robot-id').val().trim();
 | 
			
		||||
        if (robotId === '' || /^([a-zA-Z0-9]{8})$/.test(robotId) == false) {
 | 
			
		||||
        if (robotId === '' || /^([a-zA-Z0-9]{6})$/.test(robotId) == false) {
 | 
			
		||||
            $('#robot-id, #robot-label').addClass('has-error');
 | 
			
		||||
            return;
 | 
			
		||||
        } else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user