Removed the page unload blocking since it disconnected the client anyway
authorDarren <darren@darrenwhitlen.com>
Sun, 30 Oct 2011 01:02:34 +0000 (01:02 +0000)
committerDarren <darren@darrenwhitlen.com>
Sun, 30 Oct 2011 01:02:34 +0000 (01:02 +0000)
client/js/front.events.js
client/js/front.js
server/config.json

index 72b2da49cb5bd65719844a256abf7b3c22ff0a46..54499d8f15ca77da160180e450a2a48c0d01c75b 100644 (file)
@@ -215,9 +215,13 @@ kiwi.front.events = {
         }\r
 \r
         // Now that we're connected, warn the user if they really want to quit\r
+        // TODO: disable page refreshing or at least just f5\r
+        // This brakes the socket.io connection currently :(\r
+        /*\r
         window.onbeforeunload = function() {\r
             return "Are you sure you leave Kiwi IRC?";\r
         };\r
+        */\r
     },\r
     /**\r
     *   Handles the connectFail event\r
index 1f9baa0d708adb6de4c342a2cdbefdfdfdae59cb..ba56bfc631f75ee7c1799c3c690855f5531c8e9e 100644 (file)
@@ -234,6 +234,7 @@ kiwi.front = {
 
         kiwi.data.set('chanList', []);
 
+        // Load any client plugins
         (function () {
             var i;
             for (i in plugins) {
index 6acc2fd6587fbec5c31266c634581878998181d7..75a38becb2f273dd1af6a28fe8c82be69bd9be55 100644 (file)
@@ -45,7 +45,7 @@
                         ],
 
     "client_defaults":  {
-                            "server": "localhost",
+                            "server": "irc.anonnet.org",
                             "port": 6667,
                             "port_ssl": 6697,
                             "ssl": false