summaryrefslogtreecommitdiff
path: root/src/static/js/collab_client.js
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2012-03-02 22:00:20 +0100
committerEgil Moeller <egil.moller@freecode.no>2012-03-02 22:00:20 +0100
commitce5d2d86850be0496467a16333c0646d71649f7c (patch)
tree56e4eed0c777c6f338b1dfaef4a1daabdd1ccce4 /src/static/js/collab_client.js
parent6cd391d3fb33f5c59fd0d1deaaa18c1034e0bd81 (diff)
parent6fd73ecfda27fd6639c30a4c05c6149d66f669ee (diff)
downloadetherpad-lite-ce5d2d86850be0496467a16333c0646d71649f7c.zip
Merge branch 'pita'
Resolved conflicts: .gitignore src/static/js/ace.js src/static/js/ace2_inner.js src/static/js/broadcast.js src/static/js/domline.js src/static/pad.html src/static/timeslider.html Ignored conflicts (please merge manually later): node/server.js src/node/utils/Minify.js
Diffstat (limited to 'src/static/js/collab_client.js')
-rw-r--r--src/static/js/collab_client.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/static/js/collab_client.js b/src/static/js/collab_client.js
index 384b49d6..4cb7b07e 100644
--- a/src/static/js/collab_client.js
+++ b/src/static/js/collab_client.js
@@ -84,13 +84,6 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad)
{}
};
- $(window).bind("unload", function()
- {
- if (getSocket())
- {
- setChannelState("DISCONNECTED", "unload");
- }
- });
if ($.browser.mozilla)
{
// Prevent "escape" from taking effect and canceling a comet connection;