stop immediate propagation
I have a question concerning this piece of code:
- $(document).ready(function(){
- $(document).on('slidestop',function(event, data){
- event.stopImmediatePropagation();
- });
- });
It is meant to prevent double triggering by slide menu.
Does it matter where in the code it is placed ? It is not restricted to one slider, but affects all the menus of this kind, yes?