diff --git a/ui/gallery-prototype.js b/ui/gallery-prototype.js index 14da6938..688917b1 100755 --- a/ui/gallery-prototype.js +++ b/ui/gallery-prototype.js @@ -92,8 +92,13 @@ function setCurrentImage(){ // position the field and ribbons... centerSquare() - // center other ribbons relative to current image... + alignRibbons() +} + +// center other ribbons relative to current image... +function alignRibbons(){ // XXX only two ribbons are positioned at this point... + // XXX might be goot to move this to a more generic location... var id = $('.current.image').attr('id') var directions = ['prev', 'next'] for(var i in directions){