Fix channelwidget.html

This commit is contained in:
calzoneman 2013-04-27 11:54:35 -05:00
parent 52d9663eb7
commit 654ce1e886

View file

@ -27,6 +27,10 @@
<script src="assets/js/iourl.js" type="text/javascript"></script>
<script type="text/javascript">
var p = document.location + "";
var host = p.replace("http://", "");
if(host.indexOf("/") != -1) {
host = host.substring(0, host.indexOf("/"));
}
if(p.indexOf("?") != -1) {
p = p.substring(p.indexOf("?")+1);
}