jQuery.lazyload to work with printing
问题 Trying to get jquery.lazyload to work for printing and the print media query. It almost kind of works in Chromium. However, it will only display on 'screen' and not in the 'print' output. Not sure if this is due to the async nature of lazyload or my misuse. Here's what I've got so far: $(document).ready(function() { if (Modernizr.mq('only all')) { // check of mq support print_mq = window.matchMedia('print') print_mq.addListener(function(mql) { if (mql.matches) { $("img.lazy").trigger('appear'