diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-25 18:01:01 -0500 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-02-25 18:01:01 -0500 |
commit | de0d0a38fbd30719e381f4f560c19257f0308f0e (patch) | |
tree | e72268cf99d428ff664b2c655436756c42f48e2c /src | |
parent | ad1aab1e757a2f0d8acc6038c19c54caa5b1ec48 (diff) |
Fixed docking thing
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index a0f457ef2..45e283db5 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -235,11 +235,11 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp //stack.header.controlsContainer.find('.lm_popout').hide(); stack.header.controlsContainer.find('.lm_close') //get the close icon .off('click') //unbind the current click handler - .click(function () { + .click(action(function () { //if (confirm('really close this?')) { stack.remove(); //} - }); + })); } render() { |