Index: trunk/extensions/GeeQuBox/GeeQuBox.php |
— | — | @@ -100,10 +100,10 @@ |
101 | 101 | $eDir = $wgExtensionAssetsPath .'/'.EXTPATH.'/'; |
102 | 102 | self::$_page->addModules( 'ext.GeeQuBox' ); |
103 | 103 | self::$_page->addInlineScript('$j(document).ready(function(){ |
104 | | - $("li.gallerybox").each(function(el){ |
105 | | - var _a = $("div.thumb a", this); |
| 104 | + $j("li.gallerybox").each(function(el){ |
| 105 | + var _a = $j("div.thumb a", this); |
106 | 106 | var title = _a.attr("title"); |
107 | | - var caption = $("div.gallerytext > p", this).text(); |
| 107 | + var caption = $j("div.gallerytext > p", this).text(); |
108 | 108 | if ( caption != "" ) |
109 | 109 | _a.attr("title", title + caption); |
110 | 110 | }); |
— | — | @@ -112,7 +112,8 @@ |
113 | 113 | imageLoading: "'. $eDir .'images/lightbox-ico-loading.gif", |
114 | 114 | imageBtnClose: "'. $eDir .'images/lightbox-btn-close.gif", |
115 | 115 | imageBtnPrev: "'. $eDir .'images/lightbox-btn-prev.gif", |
116 | | - imageBtnNext: "'. $eDir .'images/lightbox-btn-next.gif" |
| 116 | + imageBtnNext: "'. $eDir .'images/lightbox-btn-next.gif", |
| 117 | + imageBlank: "'. $eDir .'images/lightbox-blank.gif" |
117 | 118 | }); |
118 | 119 | })'); |
119 | 120 | /* See _gqbreplaceHref() |