]> _ Git - cubeextranet.git/commitdiff
#fluidbook-workshop : fix non interactive anims prevent zoom
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 27 Apr 2016 10:37:16 +0000 (10:37 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 27 Apr 2016 10:37:16 +0000 (10:37 +0000)
inc/ws/Util/html5/class.ws.html5.links.php

index d45bdf54781383a48e7c039f097637ccb0ca271a..ece867e4aa9b203d46fbf59c0215a9b7cb3846c3 100644 (file)
@@ -698,8 +698,6 @@ class htmlMultimediaLink extends wsHTML5Link {
                                $this->_config = array('html' => false, 'width' => $this->width * $this->getCssScale(), 'height' => $this->height * $this->getCssScale());
                        }
 
-                       fb($this->_config);
-
                        $w = $this->width * $this->getCssScale();
                        $h = $this->height * $this->getCssScale();
                        $res = '';
@@ -740,7 +738,12 @@ class htmlMultimediaLink extends wsHTML5Link {
        }
 
        public function getHTMLContainerClass() {
-               return 'link multimedia';
+               $res = 'link multimedia';
+               if (!$this->interactive) {
+                       $res .= ' notinteractive';
+               }
+
+               return $res;
        }