mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-29 05:16:32 -04:00
Change behavior of the toggle to return a boolean again
This commit is contained in:
@@ -61,7 +61,7 @@ module.exports = {
|
||||
},
|
||||
checked: {
|
||||
get: function() {
|
||||
return this.$manipulatorTarget.get('checked') ? 1 : 0;
|
||||
return this.$manipulatorTarget.get('checked');
|
||||
},
|
||||
set: function(value) {
|
||||
this.$manipulatorTarget.set('checked', !!value);
|
||||
|
||||
Reference in New Issue
Block a user