From 7127e57f0e787a9677664c3719054d78655ef504 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 17 May 2020 02:58:22 +0200 Subject: [PATCH] happens on macs too --- copyparty/web/md.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/web/md.js b/copyparty/web/md.js index 501ae875..5cede57a 100644 --- a/copyparty/web/md.js +++ b/copyparty/web/md.js @@ -38,7 +38,7 @@ function static(obj) { // dodge browser issues (function () { var ua = navigator.userAgent; - if (ua.indexOf(') Gecko/') !== -1 && ua.indexOf('Linux') !== -1) { + if (ua.indexOf(') Gecko/') !== -1 && /Linux| Mac /.exec(ua)) { // necessary on ff-68.7 at least var s = document.createElement('style'); s.innerHTML = '@page { margin: .5in .6in .8in .6in; }';