aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-05-18 11:00:25 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-05-18 11:00:25 -0400
commit0aa4b3b260bc8debebe876488a87b2e3aba7b536 (patch)
tree9993ee3ef716e41fa54d324dd4c873c07865081f /src/client/views/MainView.tsx
parent23213d11e0fe2e2431a62595aa95cd60828f4562 (diff)
fixed sizing of web boxes. added auto linking to dropped web clippings. change linkfollowing to open on right.
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index 481169b2f..4a20c39d4 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -138,9 +138,7 @@ export class MainView extends React.Component {
globalPointerUp = () => this.isPointerDown = false;
initEventListeners = () => {
- window.addEventListener("drop", (e) => {
- e.preventDefault();
- }, false); // drop event handler
+ window.addEventListener("drop", (e) => { e.preventDefault(); }, false); // drop event handler
window.addEventListener("dragover", (e) => e.preventDefault(), false); // drag event handler
// click interactions for the context menu
document.addEventListener("pointerdown", this.globalPointerDown);