diff options
author | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2011-06-02 01:03:35 +0100 |
---|---|---|
committer | Peter 'Pita' Martischka <petermartischka@googlemail.com> | 2011-06-02 01:03:35 +0100 |
commit | a444e870e048f783ec08bdefe24b21aabcfbe5aa (patch) | |
tree | ec7701864d3411c986d8e68a68d51271326eb03a /static/js/pad2.js | |
parent | 612292946184942acc11e8957caa0eafc55996cb (diff) | |
download | etherpad-lite-a444e870e048f783ec08bdefe24b21aabcfbe5aa.zip |
Don't try to reconnect if we reset the connection on our own
Diffstat (limited to 'static/js/pad2.js')
-rw-r--r-- | static/js/pad2.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/js/pad2.js b/static/js/pad2.js index 9b82e871..bf314ab0 100644 --- a/static/js/pad2.js +++ b/static/js/pad2.js @@ -93,6 +93,7 @@ function handshake() //We get a disconnect message if(obj.disconnect) { + socket.reconnect = false; socket.disconnect(); alert("You have this Pad already opened in another Window/Tab"); return; |