hostname bug

This commit is contained in:
Hamza Zia 2012-07-03 04:47:04 -07:00
parent 92cd5820a4
commit 911c927056

View File

@ -181,7 +181,7 @@ var update_ui = function() {
$(function() { $(function() {
get_conf_cookie(); get_conf_cookie();
if (window.location.protocol === "http:") { if (window.location.protocol === "http:") {
server_conf.host = window.location.host; server_conf.host = window.location.hostname;
} }
var modal_conf = { var modal_conf = {
show: false, show: false,