aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/element_set_ranks.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/themes/default/template/element_set_ranks.tpl b/admin/themes/default/template/element_set_ranks.tpl
index 6fed3fb19..08921fb48 100644
--- a/admin/themes/default/template/element_set_ranks.tpl
+++ b/admin/themes/default/template/element_set_ranks.tpl
@@ -12,7 +12,7 @@
handle: $('.rank-of-image').add('.rank-of-image img'),
update: function() {
$(this).find('li').each(function(i) {
- $(this).find("input[@name~='rank_of_image']")
+ $(this).find("input[name^=rank_of_image]")
.each(function() { $(this).attr('value', (i+1)*10)});
});
}