mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 03:16:16 -04:00
Update the bowser.js to the new version
With this new version of bowser.js is possible detect the OS as well, no only the browser as the previous one. It brings support to new browsers as well.
This commit is contained in:
parent
8a79ae6e02
commit
4c8c1f53b5
4 changed files with 92 additions and 26 deletions
|
@ -390,7 +390,7 @@
|
|||
require.setGlobalKeyPath("require");
|
||||
|
||||
$ = jQuery = require('ep_etherpad-lite/static/js/rjquery').jQuery; // Expose jQuery #HACK
|
||||
browser = require('ep_etherpad-lite/static/js/browser').browser;
|
||||
browser = require('ep_etherpad-lite/static/js/browser');
|
||||
if ((!browser.msie) && (!(browser.mozilla && browser.version.indexOf("1.8.") == 0))) {
|
||||
document.domain = document.domain; // for comet
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue