From 79b37db46fda36cd779645256b03d9d074141eb6 Mon Sep 17 00:00:00 2001
From: Sam Wilkins <samuel_wilkins@brown.edu>
Date: Wed, 5 Jun 2019 22:13:49 -0400
Subject: cleanup and documentation

---
 src/client/views/collections/CollectionDockingView.tsx | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

(limited to 'src/client/views/collections/CollectionDockingView.tsx')

diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx
index 4b7868e81..1adb73bcf 100644
--- a/src/client/views/collections/CollectionDockingView.tsx
+++ b/src/client/views/collections/CollectionDockingView.tsx
@@ -337,7 +337,7 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp
                     tab.element.append(counter);
                     let upDiv = document.createElement("span");
                     const stack = tab.contentItem.parent;
-                    // console.log("TAB: ", tab);
+                    // shifts the focus to this tab when another tab is dragged over it
                     tab.element[0].onmouseenter = (e: any) => {
                         if (!this._isPointerDown) return;
                         var activeContentItem = tab.header.parent.getActiveContentItem();
@@ -346,14 +346,6 @@ export class CollectionDockingView extends React.Component<SubCollectionViewProp
                         }
                         tab.setActive(true);
                     }
-                    // tab.element[0].ondragenter = (e: any) => {
-                    //     console.log("DRAGGING OVER DETECTED!");
-                    //     console.log(e);
-                    // }
-                    // tab.element[0].ondrag = (e: any) => {
-                    //     console.log("DRAGGING!");
-                    //     console.log(e);
-                    // }
                     ReactDOM.render(<ParentDocSelector Document={doc} addDocTab={(doc, location) => CollectionDockingView.Instance.AddTab(stack, doc)} />, upDiv);
                     tab.reactComponents = [upDiv];
                     tab.element.append(upDiv);
-- 
cgit v1.2.3-70-g09d2

