From 5f9ddd969e32a5f3712f2ed30ecc1614aefceb77 Mon Sep 17 00:00:00 2001 From: cutls Date: Mon, 14 Oct 2019 00:44:12 +0900 Subject: [PATCH] about #141 themes toast shows undifined --- app/js/ui/settings.js | 2 +- app/view/make/setting.sample.html | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/js/ui/settings.js b/app/js/ui/settings.js index 8cfc0e25..c2caf3bc 100644 --- a/app/js/ui/settings.js +++ b/app/js/ui/settings.js @@ -71,7 +71,7 @@ var postView = new Vue({ //設定ボタン押した。 function settings() { var cd = $("[name=theme]:checked").val(); - var ct = $("[for=" + cd + "]").html(); + var ct = $("[data-ct=" + cd + "]").html(); if (cd == "custom" && !$("#custom-sel-sel").val()) { var theme = localStorage.getItem("theme"); if (!theme) { diff --git a/app/view/make/setting.sample.html b/app/view/make/setting.sample.html index 0c24b5be..255de926 100644 --- a/app/view/make/setting.sample.html +++ b/app/view/make/setting.sample.html @@ -108,33 +108,33 @@

@@themeSel@@