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
When Velocity is used with jQuery 1.4.2 and you want to fade out an element, the browser throws the error Cannot read property 'tweensContainer' of undefined. This error is thrown, because the Data Cache has not been initiated. The reason for that is, that in the earlier jQuery Versions, $.data(element, NAME) would be null instead of undefined.
In line 1545, where you check if the Data Cache has been initiated, you additionally have to check if the data object is null.
Ok, so while addressing this issue does solve the problem, jQuery below 1.4.3 has unsolved IE8-related CSS bugs. So, I cannot recommend using below 1.4.3 in any circumstance -- but at least Velocity doesn't error out now in these older versions.
When Velocity is used with jQuery 1.4.2 and you want to fade out an element, the browser throws the error
Cannot read property 'tweensContainer' of undefined
. This error is thrown, because the Data Cache has not been initiated. The reason for that is, that in the earlier jQuery Versions,$.data(element, NAME)
would benull
instead ofundefined
.In line 1545, where you check if the Data Cache has been initiated, you additionally have to check if the data object is null.
The text was updated successfully, but these errors were encountered: