diff options
author | Wu Cheng-Han | 2016-09-18 16:32:26 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-09-18 16:32:26 +0800 |
commit | 3840308ab6cbda7a9a9aa57f1700165e7c95d250 (patch) | |
tree | b6c9055334e73dbc0c601a061ae5ae44ec0f7560 /public/js | |
parent | 9d71adc05c93577d64f47180e3429bf3cd9a7be0 (diff) |
Update edit and publish icon and change toggle icon to make it straightforward, and add shortcut key reminder in modes' title
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/js/index.js b/public/js/index.js index d9e4955f..c800cd9d 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1197,16 +1197,16 @@ function changeMode(type) { ui.toolbar.edit.removeClass("active"); ui.toolbar.view.removeClass("active"); var modeIcon = ui.toolbar.mode.find('i'); - modeIcon.removeClass('fa-toggle-on').removeClass('fa-toggle-off'); + modeIcon.removeClass('fa-pencil').removeClass('fa-eye'); if (ui.area.edit.is(":visible") && ui.area.view.is(":visible")) { //both ui.toolbar.both.addClass("active"); modeIcon.addClass('fa-eye'); } else if (ui.area.edit.is(":visible")) { //edit ui.toolbar.edit.addClass("active"); - modeIcon.addClass('fa-toggle-off'); + modeIcon.addClass('fa-eye'); } else if (ui.area.view.is(":visible")) { //view ui.toolbar.view.addClass("active"); - modeIcon.addClass('fa-toggle-on'); + modeIcon.addClass('fa-pencil'); } unlockNavbar(); } |