mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +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...
|
// ribbon mode -- restore original image size...
|
||||||
} else {
|
} else {
|
||||||
this.ribbons.preventTransitions()
|
this.ribbons
|
||||||
|
.preventTransitions()
|
||||||
// reset image container size...
|
// reset image container size...
|
||||||
this.ribbons.viewer.find('.image:not(.clone)')
|
.viewer.find('.image:not(.clone)')
|
||||||
.each(function(_, img){
|
.each(function(_, img){
|
||||||
img.style.width = ''
|
img.style.width = ''
|
||||||
img.style.height = ''
|
img.style.height = ''
|
||||||
img.style.margin = ''
|
img.style.margin = ''
|
||||||
})
|
})
|
||||||
|
|
||||||
this
|
this
|
||||||
// align ribbons...
|
// align ribbons...
|
||||||
.alignRibbons('now')
|
.alignRibbons('now')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user