mirror of https://github.com/bra1n/townsquare.git
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
724a218b6f
commit
7f0d60c272
|
@ -259,7 +259,7 @@ export default {
|
|||
"Enter the channel number / name of the session you want to join"
|
||||
);
|
||||
if (sessionId.match(/^https?:\/\//i)) {
|
||||
sessionId = sessionId.split("#")[1];
|
||||
sessionId = sessionId.split("#").pop();
|
||||
}
|
||||
if (sessionId) {
|
||||
this.$store.commit("session/clearVoteHistory");
|
||||
|
|
Loading…
Reference in New Issue