Closed wesbos closed 9 years ago
When plugin is loaded, the script runs $('.collapse-card').paperCollapse({});
$('.collapse-card').paperCollapse({});
However, i want to pass my own options like this:
$('.collapse-card').paperCollapse({ animationDuration : 2000 });
This leads to paperCollapse being run twice and when i click to open, it closes right after.
Can we fix this? Perhaps take it out all together?
You are right. This plugin is now opt-in and you have to initialize it yourself.
Awesome - thank you :)
When plugin is loaded, the script runs
$('.collapse-card').paperCollapse({});
However, i want to pass my own options like this:
This leads to paperCollapse being run twice and when i click to open, it closes right after.
Can we fix this? Perhaps take it out all together?