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

Can't to disable controls #35

Open
generalov opened this issue Apr 28, 2014 · 2 comments
Open

Can't to disable controls #35

generalov opened this issue Apr 28, 2014 · 2 comments

Comments

@generalov
Copy link

"Use false to disable controls."

I call $('img').cropbox({..., controls: false}) but controls appended anyway.

It's possible to prevent appending controls with $('img').cropbox({..., controls: ' '}), but this looks like the hack.

@mohsinali1317
Copy link

You are suppose to do something like this
$('#postcar_image').cropbox({
width: w,
height: h
showControls: 'never'
})

@generalov
Copy link
Author

showControls: never just hides default controls, but it does not prevents the appending controls to DOM. Anyway, the issue is about that documented feature does not work.

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