summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2010-02-22 22:00:23 -0800
committerAndy Staudacher <andy.st@gmail.com>2010-02-22 22:00:23 -0800
commitadb1db6b7d1d10772b893047d8297a89ca9c615e (patch)
tree4208afc6fd94f2ac331ecf3fb965dfda9b622908
parentf7b39e7db71058c89ada225aac43d9c7b24377da (diff)
Fix typo in selector expression. The handling of view-only albums is still not great, but at least the code is closer to doing what it's supposed to.
-rw-r--r--modules/organize/js/organize.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js
index 5b90f402..5a483caf 100644
--- a/modules/organize/js/organize.js
+++ b/modules/organize/js/organize.js
@@ -270,7 +270,7 @@
if ($(event.currentTarget).hasClass("ui-state-focus")) {
return;
}
- var parent = $(event.currentTarget).parents(".g-organize-branch");
+ var parent = $(event.currentTarget).parents(".g-organize-album");
if ($(parent).hasClass("g-view-only")) {
return;
}