Improve document page image lazy loading. Use font awesome spinner and CSS3 animation.
This commit is contained in:
@@ -682,7 +682,6 @@ class DocumentPage(models.Model):
|
||||
|
||||
# Set sensible defaults if the argument is not specified or if the
|
||||
# argument is None
|
||||
|
||||
size = kwargs.get('size', setting_display_size.value) or setting_display_size.value
|
||||
rotation = kwargs.get('rotation', DEFAULT_ROTATION) or DEFAULT_ROTATION
|
||||
zoom_level = kwargs.get('zoom', DEFAULT_ZOOM_LEVEL) or DEFAULT_ZOOM_LEVEL
|
||||
|
||||
Reference in New Issue
Block a user