• 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

NeoCHI

Active member
#1
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?
 

Jake Bunce

XenForo moderator
Staff member
#2
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.