diff options
| -rw-r--r-- | chimere/static/chimere/js/jquery.chimere.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chimere/static/chimere/js/jquery.chimere.js b/chimere/static/chimere/js/jquery.chimere.js index 07cf160..809e734 100644 --- a/chimere/static/chimere/js/jquery.chimere.js +++ b/chimere/static/chimere/js/jquery.chimere.js @@ -758,7 +758,7 @@ OpenLayers.Layer.MapQuestOSM = OpenLayers.Class(OpenLayers.Layer.XYZ, { methods.subcategory_detail(c_name); } var par = $(this).parent(); - if ($(this).attr('checked')){ + if ($(this).prop('checked')){ par.addClass('selected'); } else { par.removeClass('selected'); @@ -1742,7 +1742,7 @@ OpenLayers.Layer.MapQuestOSM = OpenLayers.Class(OpenLayers.Layer.XYZ, { settings.checked_categories = []; settings.display_submited = false; } - if ($(this).attr('checked') == 'checked' || $(this).attr('checked') == true){ + if ($(this).prop('checked') == 'checked' || $(this).prop('checked') == true){ cat_id = $(this).attr('id').split('_').pop(); settings.checked_categories.push(parseInt(cat_id)); } |
