Firefox kiwiServer detection fix
authorDarren <darren@darrenwhitlen.com>
Wed, 19 Sep 2012 00:29:13 +0000 (01:29 +0100)
committerDarren <darren@darrenwhitlen.com>
Wed, 19 Sep 2012 00:29:13 +0000 (01:29 +0100)
client_backbone/dev/model_application.js

index 4af03bab105c28dff4cf21be3c595eea8f0d47f5..73c871fb73b91baa24d59f3fd73466b0ebaa2136 100644 (file)
@@ -78,7 +78,7 @@ kiwi.model.Application = Backbone.Model.extend(new (function () {
                 'https' :\r
                 'http';\r
 \r
-            this.kiwi_server = proto + '://' + window.location.host + ':' + (window.location.port || '80');\r
+            this.kiwi_server = proto + '://' + window.location.hostname + ':' + (window.location.port || '80');\r
         }\r
         \r
     };\r