From c4f6b17a586515ca512f459a528b6ff1a08d2b21 Mon Sep 17 00:00:00 2001 From: Keegan Date: Tue, 8 Mar 2016 08:31:30 +1100 Subject: [PATCH] Update button to be compatible with new events behavior. --- src/scripts/lib/manipulators.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/lib/manipulators.js b/src/scripts/lib/manipulators.js index 5cd8978..9db84d2 100755 --- a/src/scripts/lib/manipulators.js +++ b/src/scripts/lib/manipulators.js @@ -62,6 +62,7 @@ module.exports = { return this.$manipulatorTarget.get('innerHTML'); }, set: function(value) { + if (this.get() === value.toString(10)) { return this; } this.$manipulatorTarget.set('innerHTML', value); return this.trigger('change'); },