From 911c927056dae530ca988aa9f551656516d8abb5 Mon Sep 17 00:00:00 2001 From: Hamza Zia Date: Tue, 3 Jul 2012 04:47:04 -0700 Subject: [PATCH] hostname bug --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index c7f89bc..0af2ef6 100755 --- a/js/script.js +++ b/js/script.js @@ -181,7 +181,7 @@ var update_ui = function() { $(function() { get_conf_cookie(); if (window.location.protocol === "http:") { - server_conf.host = window.location.host; + server_conf.host = window.location.hostname; } var modal_conf = { show: false,