I am re-initializing the plugin after reloading the content using ajax then it works fine on desktop or laptops but not working on mobile devices
Always shows an error
Uncaught TypeError: Cannot read property 'rail' of null at HTMLDivElement.T.ontouchmove (jquery.nicescroll.min.js?v=1502894436:1) at HTMLDocument.f (jquery.nicescroll.min.js?v=1502894436:1) T.ontouchmove @ jquery.nicescroll.min.js?v=1502894436:1 f @ jquery.nicescroll.min.js?v=1502894436:1 jquery.nicescroll.min.js?v=1502894436:1 Uncaught TypeError: Cannot read property 'rail' of null at HTMLDivElement.T.ontouchmove (jquery.nicescroll.min.js?v=1502894436:1) at HTMLDocument.f (jquery.nicescroll.min.js?v=1502894436:1) T.ontouchmove @ jquery.nicescroll.min.js?v=1502894436:1 f @ jquery.nicescroll.min.js?v=1502894436:1
Hi All
I am re-initializing the plugin after reloading the content using ajax then it works fine on desktop or laptops but not working on mobile devices Always shows an error
Uncaught TypeError: Cannot read property 'rail' of null at HTMLDivElement.T.ontouchmove (jquery.nicescroll.min.js?v=1502894436:1) at HTMLDocument.f (jquery.nicescroll.min.js?v=1502894436:1) T.ontouchmove @ jquery.nicescroll.min.js?v=1502894436:1 f @ jquery.nicescroll.min.js?v=1502894436:1 jquery.nicescroll.min.js?v=1502894436:1 Uncaught TypeError: Cannot read property 'rail' of null at HTMLDivElement.T.ontouchmove (jquery.nicescroll.min.js?v=1502894436:1) at HTMLDocument.f (jquery.nicescroll.min.js?v=1502894436:1) T.ontouchmove @ jquery.nicescroll.min.js?v=1502894436:1 f @ jquery.nicescroll.min.js?v=1502894436:1
Please help ASAP