summaryrefslogtreecommitdiff
path: root/lib/gallery.common.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gallery.common.js')
-rw-r--r--lib/gallery.common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gallery.common.js b/lib/gallery.common.js
index a91f021e..59482b22 100644
--- a/lib/gallery.common.js
+++ b/lib/gallery.common.js
@@ -53,7 +53,7 @@
return this.each(function(i){
var size;
switch ($(this).attr("id")) {
- case "#gDialog":
+ case "#g-dialog":
case "#gPanel":
size = "Large";
break;
@@ -133,7 +133,7 @@
function() {
if (in_progress == 0) {
$(this).find("ul").slideDown("fast", function() { in_progress = 1; });
- $(this).find(".gDialogLink").gallery_dialog();
+ $(this).find(".g-dialogLink").gallery_dialog();
$(this).find(".gAjaxLink").gallery_ajax();
}
},