Changeset 14955 in project


Ignore:
Timestamp:
06/09/09 21:09:15 (10 years ago)
Author:
azul
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/3/svnwiki-image/trunk/svnwiki-image.scm

    r14946 r14955  
    157157  for (i = 0; i < svnwikiImage.imagesList.length; i ++) {
    158158    url = svnwikiImage.imagesList[i][0];
    159     if (svnwikiImage.currentTag)
    160       url += '?tag=' + svnwikiImage.currentTag;
    161159    name = svnwikiImage.imagesList[i][1];
    162160    var img = svnwikiJavascript.makeElement('img');
    163161    img.setAttribute('src', url + '-' + svnwikiImage.imageSizes[svnwikiImage.currentImageSize]);
     162    if (svnwikiImage.currentTag)
     163      url += '?tag=' + svnwikiImage.currentTag;
    164164    container.appendChild(svnwikiJavascript.makeElement('li', svnwikiJavascript.makeLink(url, img)));
    165165  }
Note: See TracChangeset for help on using the changeset viewer.