From 5c8de52214cd918f69967f811dc1664ebdb705ad Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 25 Jul 2014 07:12:57 +0400 Subject: [PATCH] a couple of comments... Signed-off-by: Alex A. Naanou --- ui (gen4)/ribbons.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui (gen4)/ribbons.js b/ui (gen4)/ribbons.js index 7377035b..f3662d5e 100755 --- a/ui (gen4)/ribbons.js +++ b/ui (gen4)/ribbons.js @@ -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 }