Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter puneetas3

    (@puneetas3)

    Sorry forgot to mention my site, here it is-
    https://www.sugarlandcupcakes.com/

    Thanks

    Plugin Author Eero Hermlin

    (@eero-hermlin)

    That is strange.

    What happens if you try to disable Cloudflare services Rocket Loader and/or AutoMinify?

    Plugin Author Eero Hermlin

    (@eero-hermlin)

    Somehow,
    jQuery( document ).ready(function() {

    }
    is not firing in your site. There is no other error. I think this is some kind of side effect of Cloudflare’s “Rocket Loader”.

    if you are brave and are ready to hack a bit, you can try to comment out in
    plugin js/script.js file this part:

    jQuery( document ).ready(function() {
    	dgdScrollboxInit();
    });

    (in the very end) and add this row:

    window.onload=function() { dgdScrollboxInit() }

    Please let me know if you tried and what was result?

    Thread Starter puneetas3

    (@puneetas3)

    The issue was with Cloudflare rocket loader. The plugin works excellent.

    Plugin Author Eero Hermlin

    (@eero-hermlin)

    I’m really glad that this is solved now.

    It’s really surprising that service meant for wider audience like rocket loader will disable functionality of jQuery(document).ready. jQuery is very common library, Cloudflare should do something about it.

    PS. My previous suggestion to try to change js/script.js so that window.onload would be used instead, wouldn’t actually help. I tested it now by myself and cannot anymore suggest it ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin Working on Mobile but not on Desktop’ is closed to new replies.