Problem after migration to latest jQuery version

Yes, it works fine using .on(), but now I have found a problem in some browsers in mobile devices. The pages including the script seems to load twice. Maybe the display:none property is added and then removed, Cannot be sure. I described the problem on this other post:

https://www.sitepoint.com/community/t/strange-reloading-after-loading-page-that-includes-jquery/346080