mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-01 03:40:09 +00:00
a couple of comments...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
418ec659d5
commit
5c8de52214
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user