diff options
| author | srichman333 <sarah_n_richman@brown.edu> | 2023-07-19 13:39:22 -0400 |
|---|---|---|
| committer | srichman333 <sarah_n_richman@brown.edu> | 2023-07-19 13:39:22 -0400 |
| commit | 984db272dc37fc827291010796f300e8745eddf2 (patch) | |
| tree | 8ec56aa04f32a3edd0a2a8413a3d4b09dac7769b /src/client/views/linking/LinkPopup.tsx | |
| parent | b24babcd89d51e7f6461c57ac16701630c86cf87 (diff) | |
| parent | d7a3e39e901054d0308df158cfa578a94f80c467 (diff) | |
Merge branch 'master' into collaboration-again
Diffstat (limited to 'src/client/views/linking/LinkPopup.tsx')
| -rw-r--r-- | src/client/views/linking/LinkPopup.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/linking/LinkPopup.tsx b/src/client/views/linking/LinkPopup.tsx index 745efea08..6895c0746 100644 --- a/src/client/views/linking/LinkPopup.tsx +++ b/src/client/views/linking/LinkPopup.tsx @@ -14,7 +14,6 @@ import React = require('react'); import { OpenWhere } from '../nodes/DocumentView'; interface LinkPopupProps { - showPopup: boolean; linkFrom?: () => Doc | undefined; linkCreateAnchor?: () => Doc | undefined; linkCreated?: (link: Doc) => void; @@ -44,10 +43,9 @@ export class LinkPopup extends React.Component<LinkPopupProps> { getPHeight = () => 500; render() { - const popupVisibility = this.props.showPopup ? 'block' : 'none'; const linkDoc = this.props.linkFrom ? this.props.linkFrom : undefined; return ( - <div className="linkPopup-container" style={{ display: popupVisibility }}> + <div className="linkPopup-container"> {/* <div className="linkPopup-url-container"> <input autoComplete="off" type="text" value={this.linkURL} placeholder="Enter URL..." onChange={this.onLinkChange} /> <button onPointerDown={e => this.makeLinkToURL(this.linkURL, "add:right")} |
