Deprecated "options.display" used, this is now a property: block
Frohmen opened this issue · 5 comments
Frohmen commented
Your system information
- VelocityJS version: 2.0.5
I don't understand what I should do instead, and the documentation doesn't mention anything about this.
Rycochet commented
That's about as plain English as it can be. Use it as a property...
element.velocity({left:"10px", display:"block"});
Frohmen commented
That is exactly what I'm doing and what's causing the error.
Rycochet commented
No, to cause the error you're doing:
element.velocity({left:"10px"}, {display:"block"}); // Don't do, this is wrong!!!
Frohmen commented
What about: First argument (slideDown) was not a property map, a known action, or a registered redirect. Aborting.