aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/template/include/tag_selection.inc.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/themes/default/template/include/tag_selection.inc.tpl b/admin/themes/default/template/include/tag_selection.inc.tpl
index 680c6b85e..e84ec2431 100644
--- a/admin/themes/default/template/include/tag_selection.inc.tpl
+++ b/admin/themes/default/template/include/tag_selection.inc.tpl
@@ -1,14 +1,14 @@
{footer_script require='jquery'}{literal}
jQuery(document).ready(function(){
- jQuery(".tagSelection label").click(function () {
+ jQuery(".tagSelection").on("click", "label", function () {
var parent = jQuery(this).parent('li');
var checkbox = jQuery(this).children("input[type=checkbox]");
if (jQuery(checkbox).is(':checked')) {
- jQuery(parent).addClass("tagSelected");
+ parent.addClass("tagSelected");
}
else {
- jQuery(parent).removeClass('tagSelected');
+ parent.removeClass('tagSelected');
}
});
});