mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Remove the loading icon div and replace it by a pure css solution using :after.
This way we don't have a lot of useless divs and we let the css engine handle the creation/destruction of the :after pseudo-element. It'll help to slightly improve performance when zooming.
This commit is contained in:
parent
1bdee0b59b
commit
aac073feeb
4 changed files with 34 additions and 26 deletions
|
@ -57,7 +57,6 @@ const DEFAULT_L10N_STRINGS = {
|
|||
page_scale_actual: "Actual Size",
|
||||
page_scale_percent: "{{scale}}%",
|
||||
|
||||
loading: "Loading…",
|
||||
loading_error: "An error occurred while loading the PDF.",
|
||||
invalid_file_error: "Invalid or corrupted PDF file.",
|
||||
missing_file_error: "Missing PDF file.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue