• Hi,

    Just wanted to let you guys know that on sites leveraging this plugin and some sort of HTML caching/minifying, the extra commented out $(document).ready on line 29 is forced onto the same line as the second document.ready, and both end up commented out. This causes jQuery errors. I went into the plugin editor and deleted the first commented out line of code and it fixed the issue. Just thought you guys might want to know.

    
                    //jQuery(document).ready(function($) {
                    jQuery(document).ready(function ($) {
                        var count = 0;
                        var pathname = window.location.pathname; // Returns path only
                        var url = window.location.href;
                        var pdf;
    • This topic was modified 6 years, 8 months ago by vmgdevda.
  • The topic ‘Errant commented out code in class-sit-scripts.php causes minify problems’ is closed to new replies.