diff --git a/app/js/ui/layout.js b/app/js/ui/layout.js index f587d212..db9e07be 100644 --- a/app/js/ui/layout.js +++ b/app/js/ui/layout.js @@ -15,11 +15,9 @@ function addColumnMenu() { addselCk() } $('.type').click(function() { - if(this.hasClass("active")){ - - }else{ - - } + $(".type").removeClass("active"); + $(this).addClass("active"); + $("#type-sel").val($(this).attr("data-type")) }) //最初、カラム変更時に発火 function parseColumn() { diff --git a/app/view/make/index.sample.html b/app/view/make/index.sample.html index 3fd064e9..947ec2ac 100644 --- a/app/view/make/index.sample.html +++ b/app/view/make/index.sample.html @@ -660,8 +660,8 @@ var tlid=0;