After calling destroy on initialized object it is not possible to initialize again.
Closed this issue · 0 comments
nikodemrafalski commented
Repro steps:
$.smallipop({}, 'something')
;$.smallipop('destroy');
$.smallipop({}, 'something else')
;
Expected: hovering over element show smallipop
Actual: nothing happens.
Root cause: destroy
doesn't clean up its classes smallipop-initialized
and smallipop
from element.
When removed manually it's bac to normal