aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.tsx
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-14 20:46:15 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-14 20:46:15 -0400
commitc4f324757c4ce3c9da077f5b10370f3b53cb3411 (patch)
tree4d15fe1a3d96b1a382903d6a654b6963e3746cfd /src/client/views/pdf/PDFViewer.tsx
parent04b99aec4bf3b598bceb076d1981845b669fc8d0 (diff)
added better ui for pdf menu dragger and search box now clears when nothing is searched
Diffstat (limited to 'src/client/views/pdf/PDFViewer.tsx')
-rw-r--r--src/client/views/pdf/PDFViewer.tsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/views/pdf/PDFViewer.tsx b/src/client/views/pdf/PDFViewer.tsx
index e3a716b4b..943454c33 100644
--- a/src/client/views/pdf/PDFViewer.tsx
+++ b/src/client/views/pdf/PDFViewer.tsx
@@ -450,10 +450,6 @@ export class Viewer extends React.Component<IViewerProps> {
@action
search = (searchString: string) => {
- if (searchString.length === 0) {
- return;
- }
-
if (this._pdfViewer._pageViewsReady) {
this._pdfFindController.executeCommand('find',
{