1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Trying to use swipe.js

Discussion in 'XenForo Questions and Support' started by NeoCHI, Apr 8, 2013.

  1. NeoCHI

    NeoCHI Active Member

    Hi,

    So I'm trying to use swipe.js:

    website: www.swipejs.com
    github: https://github.com/bradbirdsall/Swipe

    Here's what I've done:
    • Created a javascript to add in the necessary html.
    • Include swipe.js and the above js in PAGE_CONTAINER
    Everything works fine except when I try to call the next and prev functions the forum redirects me to:

    http://mysite.com/index.php?inline-mod/post/switch

    From this thread it seems like it's caused by ".js conflict between your added code and the inline moderator functions js."

    I can't find the conflict though...can someone me please?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Where on the page is the code being implemented? If it's within posts then you might have a problem with the inline moderation form which encompasses all posts on the page. HTML forms do not nest.
     
    NeoCHI likes this.
  3. NeoCHI

    NeoCHI Active Member

    Just found the issue...basically can't use buttons in posts.
     

Share This Page