jquery-cropbox icon indicating copy to clipboard operation
jquery-cropbox copied to clipboard

Can't to disable controls

Open generalov opened this issue 11 years ago • 2 comments

"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.

generalov avatar Apr 28 '14 11:04 generalov

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

mohsinali1317 avatar Apr 28 '14 11:04 mohsinali1317

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.

generalov avatar Apr 28 '14 11:04 generalov