cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-11-23 01:29:19 +03:00
parent 06239472cb
commit 3d6c548091

View File

@ -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')