mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
06239472cb
commit
3d6c548091
@ -397,16 +397,15 @@ module.SingleImageView = core.ImageGridFeatures.Feature({
|
||||
|
||||
// ribbon mode -- restore original image size...
|
||||
} else {
|
||||
this.ribbons.preventTransitions()
|
||||
|
||||
this.ribbons
|
||||
.preventTransitions()
|
||||
// reset image container size...
|
||||
this.ribbons.viewer.find('.image:not(.clone)')
|
||||
.viewer.find('.image:not(.clone)')
|
||||
.each(function(_, img){
|
||||
img.style.width = ''
|
||||
img.style.height = ''
|
||||
img.style.margin = ''
|
||||
})
|
||||
|
||||
this
|
||||
// align ribbons...
|
||||
.alignRibbons('now')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user