Title: Sharing module conflict
Last modified: August 31, 2016

---

# Sharing module conflict

 *  Resolved [George Florea Banus](https://wordpress.org/support/users/fbgm/)
 * (@fbgm)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/sharing-module-conflict/)
 * I’m building a plugin and my code is conflicting with the sharing module.
 * [my javascript](http://pastebin.com/R5PWas1d)
 * My script increments some numbers in the url through history.pushState and changes
   images on the page based on those numbers.
 * With the sharing module activated the function ( getNextPage() ) that handles
   the increment and image change is executed twice.
 * The `admin-sharing.js` and `sharing.js` files are not loaded on the page this
   occurs though.
 * Any ideas what causes this?
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

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

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sharing-module-conflict/#post-7279667)
 * This is odd, since Jetpack’s Sharing module doesn’t use `history.pushState`. 
   Could you try to deactivate other modules, starting with Carousel and Infinite
   Scroll, and let me know if this changes anything?
 * Thanks!
 *  Thread Starter [George Florea Banus](https://wordpress.org/support/users/fbgm/)
 * (@fbgm)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sharing-module-conflict/#post-7279669)
 * Seems like it happens when both sharing and site stats are active.
    If one is
   not active it doesn’t happen.
 * I deactivated all other modules.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sharing-module-conflict/#post-7279674)
 * Thanks for the extra details.
 * Could you contact us via this contact form, and send us more details about your
   plugin so we can run some tests with you?
    [http://jetpack.com/contact-support/](http://jetpack.com/contact-support/)
 * Thanks!
 *  Thread Starter [George Florea Banus](https://wordpress.org/support/users/fbgm/)
 * (@fbgm)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sharing-module-conflict/#post-7279676)
 * Shall I send you the plugin too?
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sharing-module-conflict/#post-7279677)
 * If you can, that’d be great, thank you!
 *  Thread Starter [George Florea Banus](https://wordpress.org/support/users/fbgm/)
 * (@fbgm)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/sharing-module-conflict/#post-7279678)
 * Sent.

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

The topic ‘Sharing module conflict’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [George Florea Banus](https://wordpress.org/support/users/fbgm/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/sharing-module-conflict/#post-7279678)
 * Status: resolved