diff options
author | codecalm <codecalm@gmail.com> | 2020-03-22 16:48:09 +0100 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-03-22 16:48:09 +0100 |
commit | 50b07ba577243cfe941746402e0195121133b6b7 (patch) | |
tree | 1edb33b93ab79f26d8bf55f95536ce7d6616c092 /src/editor.html | |
parent | gulp changelog generate, new icons (diff) | |
parent | Merge branches 'dev' and 'master' of https://github.com/tabler/tabler-icons i... (diff) | |
download | tabler-icons-50b07ba577243cfe941746402e0195121133b6b7.tar.xz |
Merge branches 'dev' and 'master' of https://github.com/tabler/tabler-icons
Diffstat (limited to 'src/editor.html')
-rw-r--r-- | src/editor.html | 3 |
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); |