ports/www/iridium/files/patch-ui_webui_resources_js_cr.js
Carlos J. Puga Medina 66d46c9897 www/iridium: Update to 2019.04.73
Submitted by:	Matthias Wolf <matthias@rheinwolf.de>
2019-06-18 19:24:43 +00:00

14 lines
382 B
JavaScript

--- ui/webui/resources/js/cr.js.orig 2019-03-11 22:01:19 UTC
+++ ui/webui/resources/js/cr.js
@@ -463,6 +463,11 @@ var cr = cr || function(global) {
get doc() {
return document;
},
+
+ /** Whether this is on *BSD. */
+ get isBSD() {
+ return /BSD/.test(navigator.userAgent);
+ },
/** Whether we are using a Mac or not. */
get isMac() {