You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The getOpacity function might - in some cases - return a string instead of a float (or integer).
In case a 3rd party library - f.e. script.aculo.us - uses the return value to calculate and set a new value. In case a string is returned "1" - 0.3 results in a faulty opacity value of -0.3.
By adding floatval() to the function getOpacity (around line 3149) the issue can be fixed.
function getOpacity(element) {
return parseFloat(Element.getStyle(element, 'opacity'));
}
Credits go to Jigal van Hemert for fixing it for the TYPO3 Project.
The getOpacity function might - in some cases - return a string instead of a float (or integer).
In case a 3rd party library - f.e. script.aculo.us - uses the return value to calculate and set a new value. In case a string is returned "1" - 0.3 results in a faulty opacity value of -0.3.
By adding floatval() to the function getOpacity (around line 3149) the issue can be fixed.
Credits go to Jigal van Hemert for fixing it for the TYPO3 Project.
The text was updated successfully, but these errors were encountered: