beedesk / jQTouch

jQT + actively maintained + exclusive features (iPad layout, iscroll, tons of css enhancements, page events, param passing between pages, radio button, grid, mail, improved page history management etc.)
http://bit.ly/beedesk-jqt
MIT License
72 stars 13 forks source link

on/off buttons are reversed #27

Closed smscotten closed 12 years ago

smscotten commented 12 years ago

It's a trivial (to fix) issue that's not so trivial for use.

When using the checkbox with class="onoff" the default position is "on." If the checkbox is specified checked, it comes up "off." A checked checkbox should correspond to the switch in the "on" position, not the "off" position.

All that's needed is to modify the style.css file for the .onoff style. Switch the values of background-position in the .onoff style with the values in the .onoff:checked style and it behaves properly.

Thanks!

thomasyip commented 12 years ago

Thanks for reporting. Will look into it.

smscotten commented 12 years ago

Sorry, it's only in the Apple theme. The JQT theme has the positions correct. Sorry I didn't check that earlier.

thomasyip commented 12 years ago

The bug fix was trivial. But, I didn't got a chance to test the extension depending on it.

I didn't really play a lot of attention on the jqt theme.

It should be fixed now. Thanks for reporting the bug again!