a couple of comments...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2014-07-25 07:12:57 +04:00
parent 418ec659d5
commit 5c8de52214

View File

@ -270,6 +270,7 @@ module.RibbonsPrototype = {
// offset on same ribbon...
if(typeof(to) == typeof(123)){
// moving the image to itself...
if(to == 0){
return img
}
@ -282,6 +283,7 @@ module.RibbonsPrototype = {
} else {
var i = mode == 'before' ? -1 : 1
to = this.getImage(to)
// moving the image to itself...
if(to[0] == img[0]){
return img
}