handle extra slash after host
This commit is contained in:
parent
ff7d784449
commit
cbbb10e217
1 changed files with 2 additions and 0 deletions
|
@ -977,6 +977,8 @@ function mistPlay(streamName,options) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
options.host = options.host.replace(/\/$/,""); //remove trailing slash
|
||||||
|
|
||||||
options.target.setAttribute('data-loading','');
|
options.target.setAttribute('data-loading','');
|
||||||
|
|
||||||
var classes = options.target.className.split(' ');
|
var classes = options.target.className.split(' ');
|
||||||
|
|
Loading…
Add table
Reference in a new issue