mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-02 20:30: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...
|
// offset on same ribbon...
|
||||||
if(typeof(to) == typeof(123)){
|
if(typeof(to) == typeof(123)){
|
||||||
|
// moving the image to itself...
|
||||||
if(to == 0){
|
if(to == 0){
|
||||||
return img
|
return img
|
||||||
}
|
}
|
||||||
@ -282,6 +283,7 @@ module.RibbonsPrototype = {
|
|||||||
} else {
|
} else {
|
||||||
var i = mode == 'before' ? -1 : 1
|
var i = mode == 'before' ? -1 : 1
|
||||||
to = this.getImage(to)
|
to = this.getImage(to)
|
||||||
|
// moving the image to itself...
|
||||||
if(to[0] == img[0]){
|
if(to[0] == img[0]){
|
||||||
return img
|
return img
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user