var Todo=function(){var _initComponents=function(){$('.todo-taskbody-due').datepicker({rtl:Metronic.isRTL(),orientation:"left",autoclose:true});$(".todo-taskbody-tags").select2({tags:["Testing","Important","Info","Pending","Completed","Requested","Approved"]});}
var _handleProjectListMenu=function(){if(Metronic.getViewPort().width<=992){$('.todo-project-list-content').addClass("collapse");}else{$('.todo-project-list-content').removeClass("collapse").css("height","auto");}}
return{init:function(){_initComponents();_handleProjectListMenu();Metronic.addResizeHandler(function(){_handleProjectListMenu();});}};}();