Title: Duplicate covers, ajax/java maybe?
Last modified: August 21, 2016

---

# Duplicate covers, ajax/java maybe?

 *  Resolved [Delete this account](https://wordpress.org/support/users/sam/)
 * (@sam)
 * [13 years ago](https://wordpress.org/support/topic/duplicate-covers-ajaxjava-maybe/)
 * Hi, the widget displays two covers for each album. The first refreshes to the
   cover art after a moment, the second stays as the default album art image and
   functions as a link to the current page displayed on the site.
 * Any ideas where the problem lies so I can fix it?
 * ( E.g. [http://sambice.net/?page_id=166](http://sambice.net/?page_id=166) )
 * Cheers,
    Sam
 * [http://wordpress.org/extend/plugins/lastfm-records/](http://wordpress.org/extend/plugins/lastfm-records/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [jeroensmeets](https://wordpress.org/support/users/jeroensmeets/)
 * (@jeroensmeets)
 * [13 years ago](https://wordpress.org/support/topic/duplicate-covers-ajaxjava-maybe/#post-3765235)
 * Hi Sam, the code to start the javascript code is twice on your page:
 *     ```
       jQuery(document).ready( function() {
             jQuery('.lastfmrecords').lastFmRecords(lfr_config);
           });
       ```
   
 * Did you add it by hand in the footer? The widget adds the code automatically.
 *  Thread Starter [Delete this account](https://wordpress.org/support/users/sam/)
 * (@sam)
 * [13 years ago](https://wordpress.org/support/topic/duplicate-covers-ajaxjava-maybe/#post-3765236)
 * Hm, no man, there’s no call for java in my footer. Its the default 2013 WordPress
   template, the only change I’ve made to the footer is adding the links on the 
   bottom right with a css wrapper for the transparency and hover effect ….
 *  Thread Starter [Delete this account](https://wordpress.org/support/users/sam/)
 * (@sam)
 * [13 years ago](https://wordpress.org/support/topic/duplicate-covers-ajaxjava-maybe/#post-3765270)
 * I’ve deactivated all other plugins and still the same problem (apologies, it’s
   the 2012 default wordpress template not 2013), I still can’t for the life of 
   me figure out why it’s inserting a second hook for java in the footer??
 *  Plugin Author [jeroensmeets](https://wordpress.org/support/users/jeroensmeets/)
 * (@jeroensmeets)
 * [13 years ago](https://wordpress.org/support/topic/duplicate-covers-ajaxjava-maybe/#post-3765283)
 * Did you remove the widget from your site? Don’t see it anymore.
 *  Thread Starter [Delete this account](https://wordpress.org/support/users/sam/)
 * (@sam)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/duplicate-covers-ajaxjava-maybe/#post-3765310)
 * Ah, sorry mate. I couldn’t figure out why it was breaking and gave up and removed
   it. Thanks, anyway.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Duplicate covers, ajax/java maybe?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/lastfm-records_cb906a.svg)
 * [Last.Fm Records](https://wordpress.org/plugins/lastfm-records/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lastfm-records/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lastfm-records/)
 * [Active Topics](https://wordpress.org/support/plugin/lastfm-records/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lastfm-records/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lastfm-records/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Delete this account](https://wordpress.org/support/users/sam/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/duplicate-covers-ajaxjava-maybe/#post-3765310)
 * Status: resolved