From efcf2680ecc0f95ab24830f79a2d7f99047a0bc3 Mon Sep 17 00:00:00 2001 From: or-else Date: Wed, 28 Mar 2018 19:19:18 -0700 Subject: [PATCH] check for changes, don't send if unchanged --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 602c77bd..08779fac 100644 --- a/index.html +++ b/index.html @@ -2639,7 +2639,9 @@ this.setState({moreInfoExpanded: open}); }, handleTagsUpdated: function(tags) { - this.props.onTopicTagsUpdate(this.props.topic, tags); + if (!arrayEqual(this.state.tags.slice(0), tags.slice(0))) { + this.props.onTopicTagsUpdate(this.props.topic, tags); + } }, handleContextMenu: function(params) { var instance = this;