From 39601d2d3ac772a234a7b6614d04cc0543e20b24 Mon Sep 17 00:00:00 2001 From: Van Date: Mon, 1 Dec 2014 14:40:44 +0800 Subject: [PATCH] fixed #173 --- static/js/menu.js | 2 ++ views/index.html | 11 ++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/static/js/menu.js b/static/js/menu.js index 7c7cb2b..875ef49 100644 --- a/static/js/menu.js +++ b/static/js/menu.js @@ -408,6 +408,8 @@ var menu = { var $okBtn = $("#dialogPreference").closest(".dialog-main").find(".dialog-footer > button:eq(0)"); $okBtn.prop("disabled", true); + + $("#themesLink").attr("href", config.staticServer + '/static/css/themes/' + $theme.val() + '.css?') } }); } diff --git a/views/index.html b/views/index.html index 8ffeb37..aa77485 100644 --- a/views/index.html +++ b/views/index.html @@ -11,7 +11,7 @@ {{range $index, $theme := .editorThemes}} {{end}} - + @@ -22,7 +22,7 @@ - + @@ -278,8 +278,8 @@