handle extra slash after host

This commit is contained in:
Cat 2017-07-18 10:53:12 +02:00 committed by Thulinma
parent ff7d784449
commit cbbb10e217

View file

@ -977,6 +977,8 @@ function mistPlay(streamName,options) {
return;
}
options.host = options.host.replace(/\/$/,""); //remove trailing slash
options.target.setAttribute('data-loading','');
var classes = options.target.className.split(' ');