aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-27 22:58:01 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-27 22:58:01 -0400
commit160ca6c2673b96b8cfe9dfd5bd887a3637a1a45f (patch)
tree2ddbabe4399e30c94e7e8a570adef1d5a96d4d36 /src/client/views/nodes/PDFBox.tsx
parent92b848b79eaf90235fed550bc96b6ca982bd07df (diff)
finisheddd
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r--src/client/views/nodes/PDFBox.tsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index 72d835fce..f527c0595 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -34,7 +34,6 @@ export const handleBackspace = (e: React.KeyboardEvent) => { if (e.keyCode === K
@observer
export class PDFBox extends DocComponent<FieldViewProps, PdfDocument>(PdfDocument) {
public static LayoutString() { return FieldView.LayoutString(PDFBox); }
- public selectionText: string = "";
@observable private _alt = false;
@observable private _scrollY: number = 0;
@@ -82,7 +81,6 @@ export class PDFBox extends DocComponent<FieldViewProps, PdfDocument>(PdfDocumen
private copy = (e: ClipboardEvent) => {
if (this.props.active()) {
- let text = this.selectionText;
if (e.clipboardData) {
e.clipboardData.setData("text/plain", text);
e.clipboardData.setData("dash/pdfOrigin", this.props.Document[Id]);