superfish
superfish copied to clipboard
Destroy method not working sfOptions data always returns null
Current destroy method code:
var $this = $(this),
o = $this.data('sfOptions'),
$hasPopUp;
if (!o) {
return false;
}
I see the sfOptions data added to the DOM in the init method, but in the destroy method it always return empty so the destroy method returns false.
Thanks for any help!