• If I disable JS optomization, all elements with JS animation or ajax elemets is breaks down. Website load, but half of the site is simply not displayed. When I ON js optimization all back, and work good. But before installing the plugin, everything worked without optimization.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Can you share your URL @akkoxe so I can have a quick look?

    Thread Starter akkoxe

    (@akkoxe)

    https://design.rigidstyle.com/ look. a half site is broken.

    (Plugin is disable now. But i enable it after 4 hours)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Hmmm … no important JS errors, only;

    18:12:55.785 TypeError: $(…).mask is not a function 1 https://www.design.rigidstyle.com:2792:1

    Can you re-enable it now so I can compare?

    Thread Starter akkoxe

    (@akkoxe)

    I Do. Look please (I enable only JS optimization)

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    very weird; no JS error $(...)-.mask is not a function when JS optimization is active, even though in that case /wp-admin/js/jquery.maskedinput.min.js it loaded after the inline JS which uses .mask;

    
    jQuery( function($){
    $(".tel").mask("+99 (999) 999-99-99");
    });

    When JS optimization is active, /wp-admin/js/jquery.maskedinput.min.js is aggregated & autoptimized and loaded very late, so one would expect the error to be there when AO JS optimization is active rather then when it is not active.

    Maybe I’m too tired now, but for now I can only say I don’t understand @akkoxe, sorry …

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘If disable JS opromization website breaks down’ is closed to new replies.