changed GUI legal text, changed via-node deletion to click only, moved default entries for input boxes to config file, made input boxes selectable again
13 lines
291 B
JavaScript
13 lines
291 B
JavaScript
// OSRM browser detection
|
|
|
|
|
|
(function() {
|
|
var useragent = navigator.userAgent;
|
|
|
|
OSRM.Browser = {
|
|
FF3: useragent.search(/Firefox\/3/),
|
|
IE6_9: useragent.search(/MSIE (6|7|8|9)/),
|
|
};
|
|
}());
|
|
|
|
// (runs anonymous function to prevent local variables cluttering global namespace)
|