Closed xzhibit closed 6 years ago
Where do i put your code, sir? In what line?
I added mine just after init:function(element){ ... },
, line 54, but I'm pretty sure it'll work anywhere as long as it's defined inside the prototype
Thank you, sir.
Cannot read property 'destroy' of undefined
Cannot read property 'destroy' of undefined
Please provide more details: what issues you're having under which circumstance, and what have you tried so far?
Cannot read property 'destroy' of undefined
Please provide more details: what issues you're having under which circumstance, and what have you tried so far?
it doesn't matter even after initialization it doesn't stop working of script
Cannot read property 'destroy' of undefined
Please provide more details: what issues you're having under which circumstance, and what have you tried so far?
it doesn't matter even after initialization it doesn't stop working of script
I'm unable to understand, can you send paste a small code sample?
I created a destroy method for the plugin:
and called using
$("#tinderslide").data('plugin_jTinder').destroy();