Change behavior of the toggle to return a boolean again

This commit is contained in:
Keegan
2016-03-07 13:13:36 +11:00
parent de00ac1fd6
commit d63c6c832d
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -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);