From: Vincent Vanwaelscappel Date: Mon, 25 May 2020 11:19:29 +0000 (+0200) Subject: wip #3659 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c43f06a06f5e1fb50e756dd6518f9cbcd7c0edfe;p=fluidbook-html5.git wip #3659 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.links.js b/js/libs/fluidbook/fluidbook.links.js index 1dd477e4..363c3605 100644 --- a/js/libs/fluidbook/fluidbook.links.js +++ b/js/libs/fluidbook/fluidbook.links.js @@ -287,7 +287,7 @@ FluidbookLinks.prototype = { var linkElement = $(link).get(0); var animation = link.data('animation'); if (animation.type === undefined || animation.type === '') { - return; + animation.type = 'none'; } var defaultParams = {}; var globalDefault = {zindex: 0}; @@ -457,6 +457,8 @@ FluidbookLinks.prototype = { link.css('opacity', 1); countup.start(); }, to.delay * 1000); + } else { + tweenmax = false; } css = $.extend({zIndex: 500 + parseInt(animation.zindex)}, css); console.log(css);