]> _ Git - cubeextranet.git/commitdiff
wip #2528 @0.25
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 21 Nov 2019 18:38:28 +0000 (18:38 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 21 Nov 2019 18:38:28 +0000 (18:38 +0000)
inc/ws/Util/html5/raster/class.ws.html5.compiler.php

index 73faaf710d4d529ce439470c90016866cf964cad..cf0b403da078b1522bcc7b3cd520135ac1614c9e 100644 (file)
@@ -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 = [];