projects
/
project/lightbox2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7909280
)
#217372 - fix for default trigger size
author
Stella Power
Mon, 4 Feb 2008 10:47:06 +0000 (10:47 +0000)
committer
Stella Power
Mon, 4 Feb 2008 10:47:06 +0000 (10:47 +0000)
lightbox2.module
patch
|
blob
|
blame
|
history
diff --git
a/lightbox2.module
b/lightbox2.module
index
d98d825
..
193e66c
100644
(file)
--- a/
lightbox2.module
+++ b/
lightbox2.module
@@
-405,7
+405,7
@@
function lightbox2_add_files() {
$image_node_classes .= "img.flickr-photo-img,";
}
$trigger_sizes = variable_get('lightbox2_trigger_image_size', array('thumbnail' => t('Thumbnail')));
- foreach ($trigger_sizes as $size) {
+ foreach ($trigger_sizes as $size => $size_name) {
$image_node_classes .= "img.$size, img.image-$size,";
}
$image_node_classes = rtrim($image_node_classes, ",");