# HG changeset patch # User Alexandre Segura # Date 1489492491 -3600 # Node ID 0f59a0f980216859c2b1b80ae800bd0c337ad0f8 # Parent 6949fe7a69b6f2f2d63e6e9407484048d18ae322 Fix click target. diff -r 6949fe7a69b6 -r 0f59a0f98021 src_js/iconolab-bundle/src/components/tagform/ColorButtons.vue --- a/src_js/iconolab-bundle/src/components/tagform/ColorButtons.vue Tue Mar 14 12:50:50 2017 +0100 +++ b/src_js/iconolab-bundle/src/components/tagform/ColorButtons.vue Tue Mar 14 12:54:51 2017 +0100 @@ -104,7 +104,7 @@ }, onClick: function(e) { - var value = parseInt($(e.target).data('value')); + var value = parseInt($(e.currentTarget).data('value')); this.value = value; this.$emit('change', { value: value }); }