wordpress - Remove niceScroll to enable default browser scroll -


i got ember pro theme , came built in nicescroll. want remove can't find way how it.

the reason because want remove there issue: when mouse cursor on iframe content, can't scroll, tried same iframe other page, , all's good. here links: http://exe4um.lv/biletes/ , http://valmierashk.lv/biletes/

the iframe api ticket service. question how can disable nicescroll on exe4um.lv page enable browser's default scrollbar?

add below function in function.php file

<?php function myscript() { ?> <script type="text/javascript">    $(document).ready(function() {         /* $('html').getnicescroll().remove();*/         $(".page-template-default").getnicescroll().remove();     }); </script> <?php } add_action( 'wp_footer', 'myscript' ); ?> 

Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -