WordPress.org

Plugin Directory

Changeset 511476


Ignore:
Timestamp:
02/28/12 00:57:40 (2 years ago)
Author:
lessbloat
Message:

Preloading mshot screens on comment page after everything else on the page has loaded

Location:
akismet/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/akismet.js

    r487730 r511476  
    105105    o+='%'+(h.length<2?'0':'')+h.toUpperCase();}x++;}}return o;} 
    106106}); 
     107// Preload mshot images after everything else has loaded 
     108jQuery(window).load(function() { 
     109    jQuery('a[id^="author_comment_url"]').each(function () { 
     110        jQuery.get('http://s.wordpress.com/mshots/v1/'+jQuery.URLEncode(jQuery(this).attr('href'))+'?w=450'); 
     111    }); 
     112}); 
  • akismet/trunk/readme.txt

    r501866 r511476  
    3434= 2.5.6 = 
    3535* Add more checks on the scheduled re-check feature, force it to be no more than 20 minutes in the future 
     36* Preloading mshot screens on comment page after everything else on the page has loaded 
    3637 
    3738= 2.5.5 = 
Note: See TracChangeset for help on using the changeset viewer.