summaryrefslogtreecommitdiff
path: root/src/static/js/collab_client.js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2014-11-22 19:11:35 +0000
committerJohn McLear <john@mclear.co.uk>2014-11-22 19:11:35 +0000
commit9b66c93d6bac97d27d13bc7989d11c61cb6dce98 (patch)
tree0494d14b3b1c1f4d8d0c053076917d46dc14769e /src/static/js/collab_client.js
parent488d6890f9170eb9f731c8b86d763a3ad0e5ead1 (diff)
downloadetherpad-lite-9b66c93d6bac97d27d13bc7989d11c61cb6dce98.zip
swap out jquery browser for bower but expose browser object to all pages also enable minification.. Seems to work well
Diffstat (limited to 'src/static/js/collab_client.js')
-rw-r--r--src/static/js/collab_client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/collab_client.js b/src/static/js/collab_client.js
index 146ec51b..c59c36a6 100644
--- a/src/static/js/collab_client.js
+++ b/src/static/js/collab_client.js
@@ -82,7 +82,7 @@ function getCollabClient(ace2editor, serverVars, initialUserInfo, options, _pad)
{}
};
- if ($.browser.mozilla)
+ if (browser.mozilla)
{
// Prevent "escape" from taking effect and canceling a comet connection;
// doesn't work if focus is on an iframe.