Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-12-01 03:58:02 +03:00
parent 0e8c268630
commit 5863626db9

View File

@ -1620,7 +1620,6 @@ var RibbonsPrototype = {
left = left || 0
right = right || 0
reference = this.getImage(reference)
//scale = scale || this.scale()
var W = Math.min(document.body.offsetWidth, document.body.offsetHeight)
var w = this.getVisibleImageSize('width', 1, reference)
@ -2314,6 +2313,7 @@ var RibbonsPrototype = {
var l = target[0].offsetLeft
var w = target[0].offsetWidth
//var w = this.getVisibleImageSize('width', 1, target)
var image_offset = mode == 'before' ? 0