summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStella Power2010-09-21 14:20:25 (GMT)
committer Stella Power2010-09-21 14:20:25 (GMT)
commit9788f90a2c39801b67a067822b3f1b9ce2e4f3dc (patch)
tree63dabefcb21e7849c3650dfc7db04d07d3c9c245
parenta1b2a5d8e721a795153e294fa3850490a03ab1bf (diff)
#419756 by all3n - change automatic image handling default caption text
-rw-r--r--js/auto_image_handling.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/auto_image_handling.js b/js/auto_image_handling.js
index f9f5a0d..c3b5da3 100644
--- a/js/auto_image_handling.js
+++ b/js/auto_image_handling.js
@@ -177,7 +177,7 @@ function lightbox2_init_triggers(classes, rel_type, custom_class) {
if (download_link_text.length && download) {
title_link = title_link + " - <a href=\"" + download + "\" id=\"download_link_text\" target=\"_blank\">" + download_link_text + "</a>";
}
- rel = rel + "[" + alt + title_link + "]";
+ rel = rel + "[" + img_title + title_link + "]";
$(this).attr({
rel: rel,
href: href
@@ -191,7 +191,7 @@ function lightbox2_init_triggers(classes, rel_type, custom_class) {
rel = rel_type + "["+ id +"]";
}
}
- rel = rel + "[" + alt + "]";
+ rel = rel + "[" + img_title + "]";
$(this).attr({
rel: rel,
href: orig_href