projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d56318
)
Correctly detecting running from file:
author
Darren
<darren@darrenwhitlen.com>
Wed, 3 Oct 2012 12:01:37 +0000
(13:01 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 3 Oct 2012 12:01:37 +0000
(13:01 +0100)
client_backbone/dev/model_application.js
patch
|
blob
|
blame
|
history
diff --git
a/client_backbone/dev/model_application.js
b/client_backbone/dev/model_application.js
index f42dd44d6d8e9e5963c201ecf45900735bb36394..d54d0188e4c772cd541157e91efa4cf93fb56e52 100755
(executable)
--- a/
client_backbone/dev/model_application.js
+++ b/
client_backbone/dev/model_application.js
@@
-75,8
+75,8
@@
kiwi.model.Application = Backbone.Model.extend(new (function () {
\r
this.detectKiwiServer = function () {
\r
// If running from file, default to localhost:7777 by default
\r
- if (window.location.protocol === 'file') {
\r
- this.kiwi_server = 'http://localhost:777
7
';
\r
+ if (window.location.protocol === 'file
:
') {
\r
+ this.kiwi_server = 'http://localhost:777
8
';
\r
} else {
\r
// Assume the kiwi server is on the same server
\r
this.kiwi_server = window.location.protocol + '//' + window.location.host;
\r