diff --git a/index.html b/index.html
index 0458c3d..8f4a82a 100644
--- a/index.html
+++ b/index.html
@@ -198,16 +198,13 @@
//カラー選択関数
function Color(obj){
- try {
- for ( i = 1; i <= 18; i++ ) {
- id_name = "color_" + i;
- if (id_name == obj.id){
- document.getElementById(id_name).classList.add('active');
- } else {
- document.getElementById(id_name).classList.remove('active');
- }
+ for ( i = 1; i <= 15; i++ ) {
+ id_name = "color_" + i;
+ if (id_name == obj.id){
+ document.getElementById(id_name).classList.add('active');
+ } else {
+ document.getElementById(id_name).classList.remove('active');
}
- } catch (error) {
}
}