Conversation
|
Thanks for it! |
|
In the same page, no reload. |
|
Right I see now! Thanks for the explanation! And it should only do it when the anchors are defined in the fullpage.js initialization object, not when they are defined in the DOM with the |
|
Ah, I'm not sure, in that case, when they are not defined. |
Why. |
|
oh, you are right.
|
|
You defined the flag to Let me know if you still want to commit the pull request to Then add it in the previous loop: container.find('[data-anchor]').each(function () {
$(this).removeData('anchor');
if( anchorsDefinedByUser){
//do whatever
}
}); |
fix destory method data-anchor
Remove jquery.fn.data's cache for anchor when destroy.