• Resolved alfrex92

    (@alfrex92)


    Hi,

    Thank you for the plugin. I love it!

    I would like to remove the file jquery.smooth.scroll.min.js

    I erase this line of code
    wp_register_script( 'jquery-smooth-scroll', EZ_TOC_URL . "vendor/smooth-scroll/jquery.smooth-scroll$min.js", array( 'jquery' ), '1.5.5', TRUE );

    Will I have a secondary effect? For example, something will not work (besides the smooth scroll)

    https://image.ibb.co/iOyjt0/smooth-scroll.jpg

    Btw, any plans to remove JQuery dependency?
    I would not mind paying for a premium version if you can remove the dependency.

    Thank you!

    • This topic was modified 7 years, 8 months ago by alfrex92.
Viewing 1 replies (of 1 total)
  • Steven

    (@shazahm1hotmailcom)

    @alfrex92

    You should also disable the Smooth Scroll option in the settings otherwise you might get a javascript error. Which could potentially cause scripts after that error not to run.

    Sorry, I have no plans on removing the jQuery dependency. I am not a JS expert so by utilizing jQuery and its plugins I can develop features I otherwise would not be able to. In most cases in the WP environment this is not an issue due to the fact so many WP plugins also depend on it.

Viewing 1 replies (of 1 total)

The topic ‘remove jquery smooth scroll file’ is closed to new replies.