diff options
| author | yipstanley <stanley_yip@brown.edu> | 2019-07-14 20:46:15 -0400 |
|---|---|---|
| committer | yipstanley <stanley_yip@brown.edu> | 2019-07-14 20:46:15 -0400 |
| commit | c4f324757c4ce3c9da077f5b10370f3b53cb3411 (patch) | |
| tree | 4d15fe1a3d96b1a382903d6a654b6963e3746cfd /src/client/views/pdf/PDFViewer.tsx | |
| parent | 04b99aec4bf3b598bceb076d1981845b669fc8d0 (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.tsx | 4 |
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', { |
