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 center is an invalid value #428

Open
andyedward opened this issue Jan 4, 2014 · 2 comments
Open

Uncaught center is an invalid value #428

andyedward opened this issue Jan 4, 2014 · 2 comments

Comments

@andyedward
Copy link

Hi,

I'm using turn.js ver 4 and having this error in Chrome Console

'Uncaught center is an invalid value '

This error is thrown by turn.js line 1855 because of this line (marked by arrows)

turned: function(event, page, view) {
                    disableControls(page);
  -----------------> $(this).turn('center');  <-------------------

                    if (page==1) { 
                        $(this).turn('peel', 'br');
                    }

I'm taking the code from the magazine example
Can anyone help??

Best Regards,

Andy

@lbineau
Copy link

lbineau commented Dec 17, 2015

Same for me with center and peel.

@bushev
Copy link

bushev commented Sep 7, 2016

Hi guys! Any news?

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

3 participants