happens on macs too

This commit is contained in:
ed 2020-05-17 02:58:22 +02:00
parent ee9c6dc8aa
commit 7127e57f0e

View file

@ -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; }';