aboutsummaryrefslogtreecommitdiff
path: root/src/editor.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.html')
-rw-r--r--src/editor.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/editor.html b/src/editor.html
index 6794a491..3a928f28 100644
--- a/src/editor.html
+++ b/src/editor.html
@@ -113,6 +113,9 @@ layout: default
.on('click', '.js-icon', function (e) {
var icon = $(this).attr('data-icon');
+ $('.js-icon').removeClass('active');
+ $(this).addClass('active');
+
$('.js-icon-name').html(icon);
localStorage.setItem('icon', icon);