Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed issue #27, on/off buttons are reversed. Fixed spinningwheel ext…

…ension.
  • Loading branch information...
commit 0370eeebcbf68c09fdc4a69b244adb26aed54bed 1 parent a17f327
@thomasyip thomasyip authored
View
4 extensions/spinningwheel/spinningwheel.js
@@ -62,13 +62,13 @@ $(document).ready(function() {
} else {
wheel.reset(dateobject);
}
- $target.find(".sw-allday").attr("checked", !!dateobject.hours);
+ $target.find(".sw-allday").attr("checked", !dateobject.hours);
$target.find("input[name='starts']").click();
});
$("#jqt .datewheelpane .sw-allday").bind("change", function() {
var $target = $(this);
var checked = $target.attr("checked");
- $target.parents(".datewheelpane").data("spinningwheel").setAlldayMode(!checked);
+ $target.parents(".datewheelpane").data("spinningwheel").setAlldayMode(checked);
});
$("#jqt .datewheelpane .sw-starts").bind("click", function() {
var $target = $(this);
View
5 themes/apple/theme.css
@@ -2269,13 +2269,12 @@ div.spinner div.bar12 {-webkit-transform:rotate(330deg) translate(0, -142%); -we
border-width: 0;
border-radius: 4px;
background: black url(img/on_off.png) no-repeat;
- background-position: 0 center;
+ background-position: -55px center;
-webkit-transition: background-position .15s;
}
#jqt input[type="checkbox"].onoff:checked {
- background-position: -55px 0;
- -webkit-transition: background-position .15s;
+ background-position: 0 center;
}
/* @end */
Please sign in to comment.
Something went wrong with that request. Please try again.