description fixed for gallery
This commit is contained in:
parent
e6c411b8e1
commit
3c0d2da9a7
|
@ -198,7 +198,10 @@ var galleryAPI = function(){
|
|||
// $(".slideinfo b.info").text(imageArray[imagecount].title);
|
||||
if($('.bt-tag').hasClass("active"))
|
||||
updatePhotoTag();
|
||||
$(".slideinfo .info").text(imageArray[imagecount].description);
|
||||
if(imageArray[imagecount].description)
|
||||
$(".slideinfo .info").text(imageArray[imagecount].description);
|
||||
else
|
||||
$(".slideinfo .info").text("");
|
||||
if(imageArray.length > 1)
|
||||
updateNavigation();
|
||||
})
|
||||
|
|
|
@ -218,7 +218,10 @@ var galleryAPI = function(){
|
|||
}
|
||||
// $(".slideinfo b.info").text(imageArray[imagecount].title);
|
||||
updatePhotoTag();
|
||||
$(".slideinfo .info").text(imageArray[imagecount].description);
|
||||
if(imageArray[imagecount].description)
|
||||
$(".slideinfo .info").text(imageArray[imagecount].description);
|
||||
else
|
||||
$(".slideinfo .info").text("");
|
||||
if(imageArray.length > 1)
|
||||
updateNavigation();
|
||||
})
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<ul class="gallery_info clearfix">
|
||||
<li class="view"><i class="icons-eye"></i> 321</li>
|
||||
<li><i class="icons-tag"></i></li>
|
||||
<li><%= @ac%></li>
|
||||
<li class="albumcateg"><%= @categories.find(album.category_id).title %></li>
|
||||
</ul>
|
||||
<ul class="albumtag">
|
||||
<% @tags.each do |tag| %>
|
||||
|
|
Loading…
Reference in New Issue