mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-05 16:47:37 -04:00
Update button to be compatible with new events behavior.
This commit is contained in:
@@ -62,6 +62,7 @@ module.exports = {
|
|||||||
return this.$manipulatorTarget.get('innerHTML');
|
return this.$manipulatorTarget.get('innerHTML');
|
||||||
},
|
},
|
||||||
set: function(value) {
|
set: function(value) {
|
||||||
|
if (this.get() === value.toString(10)) { return this; }
|
||||||
this.$manipulatorTarget.set('innerHTML', value);
|
this.$manipulatorTarget.set('innerHTML', value);
|
||||||
return this.trigger('change');
|
return this.trigger('change');
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user