summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.common.js b/lib/gallery.common.js
index f2de74ad..4ac6de70 100644
--- a/lib/gallery.common.js
+++ b/lib/gallery.common.js
@@ -89,7 +89,7 @@
*/
$.fn.gallery_get_photo = function() {
var photo = $(this).find("img").filter(function() {
- return this.id.match(/g-photoId-\d+/);
+ return this.id.match(/g-photo-id-\d+/);
});
return photo;
};