Jonas Jenwald
9b0ed6f821
Remove all pages from the DOM at once, rather than using a loop, in PDFViewer._regroupSpreads
...
There's no good reason to iterate through an arbitrary number of DOM elements this way, since a document could contain thousands of pages, when everything can be easily removed at once; compare with e.g. `BaseViewer._resetView` and `PDFThumbnailViewer._resetView`.
Furthermore given that it's a `PDFViewer` instance, the `this.viewer` property can be accessed directly. Besides, `_setDocumentViewerElement` only exists as a helper method for `setDocument` in the base class and none of this code applies for `PDFSinglePageViewer` instances either.
2018-06-23 10:16:04 +02:00
..
2018-05-14 23:10:32 -04:00
2017-11-05 16:53:47 +01:00
2015-01-26 16:44:45 +01:00
2018-04-04 00:25:12 +02:00
2018-02-13 14:28:38 +01:00
2018-06-21 12:57:56 +03:00
2018-06-17 13:55:53 +02:00
2018-06-23 10:16:04 +02:00
2015-08-14 18:59:55 +02:00
2018-06-17 13:32:30 +02:00
2011-07-05 10:53:57 -07:00
2018-02-13 16:56:57 +01:00
2018-05-14 23:10:33 -04:00
2017-07-29 13:17:22 +02:00
2018-03-01 18:11:17 +01:00
2017-10-22 16:13:14 +02:00
2018-03-25 18:49:46 +02:00
2018-03-01 18:11:17 +01:00
2018-03-25 18:49:46 +02:00
2017-11-05 16:53:47 +01:00
2018-03-25 18:49:46 +02:00
2017-05-28 21:18:18 +02:00
2017-07-03 11:22:49 +02:00
2018-03-01 18:11:17 +01:00
2018-03-19 23:24:56 +01:00
2018-03-25 18:53:45 +02:00
2017-07-05 11:34:14 +02:00
2018-02-11 20:31:59 +01:00
2018-01-26 13:23:51 +01:00
2018-03-12 14:13:23 +01:00
2018-03-01 18:11:16 +01:00
2018-02-13 16:56:56 +01:00
2018-04-01 23:20:41 +02:00
2018-03-01 18:11:17 +01:00
2017-10-22 16:23:38 +02:00
2017-12-02 19:05:17 +01:00
2017-10-11 18:17:28 +02:00
2017-09-23 16:28:04 +02:00
2018-02-09 14:43:11 +01:00
2018-02-09 14:43:11 +01:00
2018-03-01 18:13:27 +01:00
2018-05-14 23:10:32 -04:00
2018-06-23 10:16:04 +02:00
2017-11-05 16:53:47 +01:00
2017-10-22 16:23:38 +02:00
2018-06-23 10:16:04 +02:00
2018-04-04 00:25:12 +02:00
2017-06-29 23:41:25 +02:00
2017-06-26 13:06:24 +02:00
2018-06-03 00:23:07 +02:00
2017-08-19 11:41:04 +02:00
2018-06-14 12:25:28 +02:00
2017-05-31 09:22:25 -05:00
2018-03-21 18:21:46 +01:00
2017-05-31 09:22:25 -05:00
2016-02-14 13:23:34 +01:00
2017-05-31 09:22:25 -05:00
2018-06-15 20:27:02 +02:00
2018-05-14 23:10:32 -04:00
2018-05-14 23:10:32 -04:00