//初期処理 _jq_(function() { set_up_calendar_multi(); _jq_('.multi_search_modal .item_pref .select_box')._my_select_list_('init'); _jq_('.multi_search_modal .item_date .select_box')._my_select_list_('init'); //要素以外クリック _jq_(window).on('click',function (event) { if(!_jq_(event.target).closest('.condition_box').length && !_jq_(event.target).closest('.select_item').length) { _jq_(".box__contents").removeClass().addClass("box__contents"); _jq_('.condition_box').each(function(i, e){ if(_jq_(this).hasClass("active")){ // _jq_(this).removeClass(_base_active_class_name_); // _jq_(this).addClass("non_" + _base_active_class_name_); } }); _jq_('.select_item').each(function(i, e){ if(_jq_(this).hasClass("active")){ _jq_(this).removeClass("active"); } }); } }); });