cookie bug fixed

This commit is contained in:
Hamza Zia 2012-07-15 19:22:02 -07:00
parent 3e190dcb0b
commit 3df40af495

View File

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