aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-12 20:44:43 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-12 20:44:43 -0400
commite3caa89d36c501c16acbc56900546d8a4522584a (patch)
tree579c3c65cd3dc01c32b461bdc9199c0fd54df512 /src/client/views/collections
parent9c162a938e861509e2e32e7b63409f037e2da284 (diff)
fixed lint warnings.
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/CollectionDockingView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx
index 77ffb4157..eb1cd1c09 100644
--- a/src/client/views/collections/CollectionDockingView.tsx
+++ b/src/client/views/collections/CollectionDockingView.tsx
@@ -276,8 +276,9 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp
}
tab.closeElement.off('click') //unbind the current click handler
.click(function () {
- if (tab.reactionDisposer)
+ if (tab.reactionDisposer) {
tab.reactionDisposer();
+ }
tab.contentItem.remove();
});
}