So, is this no longer a thing with ver 5? (checking the version number)
I’ve defined my mobiscrolls as mobiscroll5 and mobiscroll4. So this way I can use both versions without getting confused. However, I can’t seem to figure out what version of 5 I’m using.
<!-- Mobiscroll -->
window.mobiscroll5 = mobiscroll;
$.fn.mobiscroll5 = $.fn.mobiscroll;
window.mobiscroll4 = mobiscroll;
$.fn.mobiscroll4 = $.fn.mobiscroll;
If I type in mobiscroll4.version in the console I get ‘4.10.9’, but if I type in mobiscroll5.version I get ‘undefined’. What’s the trick?