mirror of
				https://github.com/bra1n/townsquare.git
				synced 2025-10-21 16:55:12 +00:00 
			
		
		
		
	changed code to grab session id from pasted domain in join dialog to be a pop, to avoid errors if the hash string is not present
This commit is contained in:
		
							parent
							
								
									aee12a23be
								
							
						
					
					
						commit
						6026a6e8e8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -277,7 +277,7 @@ export default {
 | 
				
			||||||
        "Enter the channel number / name of the session you want to join"
 | 
					        "Enter the channel number / name of the session you want to join"
 | 
				
			||||||
      );
 | 
					      );
 | 
				
			||||||
      if (sessionId.match(/^https?:\/\//i)) {
 | 
					      if (sessionId.match(/^https?:\/\//i)) {
 | 
				
			||||||
        sessionId = sessionId.split("#")[1];
 | 
					        sessionId = sessionId.split("#").pop();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      if (sessionId) {
 | 
					      if (sessionId) {
 | 
				
			||||||
        this.$store.commit("session/clearVoteHistory");
 | 
					        this.$store.commit("session/clearVoteHistory");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue