mirror of
https://github.com/zadam/trilium.git
synced 2025-01-30 19:08:55 +08:00
added button for reloading frontend
This commit is contained in:
parent
253a6ef081
commit
b2d4330692
2 changed files with 7 additions and 0 deletions
|
@ -103,6 +103,7 @@ function registerEntrypoints() {
|
|||
|
||||
utils.bindShortcut('f5', utils.reloadApp);
|
||||
|
||||
$("#reload-frontend-button").click(utils.reloadApp);
|
||||
utils.bindShortcut('ctrl+r', utils.reloadApp);
|
||||
|
||||
$("#open-dev-tools-button").toggle(utils.isElectron());
|
||||
|
|
|
@ -73,6 +73,12 @@
|
|||
<kbd>CTRL+SHIFT+I</kbd>
|
||||
</a>
|
||||
|
||||
<a class="dropdown-item" id="reload-frontend-button" title="Reload can help with some visual glitches without restarting the whole app.">
|
||||
<span class="jam jam-refresh"></span>
|
||||
Reload frontend
|
||||
<kbd>CTRL-R</kbd>
|
||||
</a>
|
||||
|
||||
<a class="dropdown-item" id="open-sql-console-button">
|
||||
<span class="jam jam-database"></span>
|
||||
Open SQL Console
|
||||
|
|
Loading…
Reference in a new issue