1/* Hides the Pause/Play Buttons if only 1 slide */ 2// noinspection JSJQueryEfficiency 3 4jQuery(window).on("load", function () { 5 jQuery('.flexslider').children("ul.slides").attr('aria-live', 'off'); 6 jQuery('.flexslider').each(function () { 7 if (jQuery(this).children("ul.slides").children("li").length === 1) { 8 jQuery(this).children("div.flex-pauseplay").remove(); 9 } else { 10 jQuery(this).children("div.flex-pauseplay").css("display", "block"); 11 jQuery(this).children("div.flex-pauseplay").css("visibility", "visible"); 12 } 13 }) 14});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.