Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: a.indexOf is not a function #6

Open
BackInBiz opened this issue Jan 3, 2019 · 1 comment
Open

Uncaught TypeError: a.indexOf is not a function #6

BackInBiz opened this issue Jan 3, 2019 · 1 comment

Comments

@BackInBiz
Copy link

BackInBiz commented Jan 3, 2019

Hello,

When i use jquery.threesixty.js i get this error with latest jQuery
When i use jquery.threesixty.min.js, you use opacity sytem instead of display one and your code is really different :
<img class="threesixty-frame" style="display:' + display + ';" data-index="' + i + '" src="' + pathTemplate.replace('{index}', i) + '"/> with .js
a+='<image class="threesixty-frame" height="555" width="280" x="13" y="0" style="opacity:'+(0===i?"1":"0")+';" data-index="'+i+'" xlink:href="'+n.replace("{index}",i)+'" tabindex="-1"/>' with .min.js

I just replace opacity function by display skills and edit this sentence to make it works but why 2 files or so differents ?

@magsanuk
Copy link

magsanuk commented Feb 8, 2019

opacity or display has nothing to do with it..

just replace .load(this.onLoadComplete) with .on("load",this.onLoadComplete) in line 135 and it works ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants