Update to bowser 2.7.0
This commit is contained in:
parent
621780c9cf
commit
cc14fbe36e
3 changed files with 5 additions and 647 deletions
|
@ -24,7 +24,8 @@
|
|||
//= require querystring
|
||||
|
||||
$(document).ready(function () {
|
||||
var querystring = require("querystring-component");
|
||||
var querystring = require("querystring-component"),
|
||||
browser = bowser.getParser(window.navigator.userAgent);
|
||||
|
||||
var loaderTimeout;
|
||||
|
||||
|
@ -256,7 +257,7 @@ $(document).ready(function () {
|
|||
};
|
||||
|
||||
if (location.protocol === "http" ||
|
||||
bowser.check({ chrome: "53", firefox: "55" })) {
|
||||
browser.satisfies({ chrome: ">=53", firefox: ">=55" })) {
|
||||
url = "http://127.0.0.1:8111/load_and_zoom?";
|
||||
} else {
|
||||
url = "https://127.0.0.1:8112/load_and_zoom?";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue