precedence fail :(

pull/342/head
Matthew Hodgson 2015-11-06 21:33:28 +01:00
parent f102e3b3b7
commit 89327bd38f
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ var roomTileSource = {
}
// if we moved lists or the ordering changed, add the new tag
if (item.targetList.props.tagName && item.targetList !== item.originalList || newOrder) {
if (item.targetList.props.tagName && (item.targetList !== item.originalList || newOrder)) {
//component.state.set({ spinner: component.state.spinner ? component.state.spinner++ : 1 });
MatrixClientPeg.get().setRoomTag(item.room.roomId, item.targetList.props.tagName, newOrder).finally(function() {
//component.state.set({ spinner: component.state.spinner-- });