It seems that if I load different magazines in the same container the memory will be stored even after destroying the object, the 'next' function stores the last page that the user was before closing the magazine, if I load another magazine and click on next it will take me to next of the stored value.
Flip animations blink after loading a second instance.
After loading a second instance and so on clicking on next will flip on multiples of the instance loaded, an example.... if I loaded a new magazine for the fifth time it will flip from 4-5 to 10-11.
This could be easily solved by just resetting the variables, but I think destroy should reset all variables and not only remove the data of the DOM.
For now it would be helpful if you could tell me which variables are taking part on this.
This could be easily solved by just resetting the variables, but I think destroy should reset all variables and not only remove the data of the DOM.
For now it would be helpful if you could tell me which variables are taking part on this.