safari workaround for workers. disable decals in dark mode. add client listener before starting client

This commit is contained in:
Stewart Allen 2022-01-18 13:41:11 -05:00
commit 08d76c8b2f
4 changed files with 10 additions and 7 deletions

View file

@ -6,7 +6,7 @@
let moto = self.moto = self.moto || {},
ccvalue = self.navigator ? navigator.hardwareConcurrency || 1 : 1,
ccmax = ccvalue > 3 ? ccvalue - 1 : 0,
ccmax = ccvalue > 3 ? ccvalue - 1 : 1,
workcc = false, // concurrent or not
workurl = null, // url to load worker
worknum = 1, // number of workers to start