From: vincent@cubedesigners.com Date: Thu, 21 Nov 2019 18:38:28 +0000 (+0000) Subject: wip #2528 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=38eb0499edba804e25864e3aefe8d1db2f69545c;p=cubeextranet.git wip #2528 @0.25 --- diff --git a/inc/ws/Util/html5/raster/class.ws.html5.compiler.php b/inc/ws/Util/html5/raster/class.ws.html5.compiler.php index 73faaf710..cf0b403da 100644 --- a/inc/ws/Util/html5/raster/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/raster/class.ws.html5.compiler.php @@ -1629,20 +1629,9 @@ class wsHTML5Compiler { global $core; - switch ($this->book->parametres->mobileVersion) { - case 'html5-desktop': - $this->backgroundsPrefix = array('t', 'p'); - $this->svg = true; - break; - case 'html5-images': - $this->backgroundsPrefix = array('t'); - $this->svg = false; - break; - default: - $this->backgroundsPrefix = array('p'); - $this->svg = true; - break; - } + + $this->backgroundsPrefix = array('p'); + $this->svg = true; $rasterizePages = $this->config->rasterizePages; $this->config->pagesDimensions = [];