mirror of
https://github.com/zadam/trilium.git
synced 2025-01-31 03:19:11 +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);
|
utils.bindShortcut('f5', utils.reloadApp);
|
||||||
|
|
||||||
|
$("#reload-frontend-button").click(utils.reloadApp);
|
||||||
utils.bindShortcut('ctrl+r', utils.reloadApp);
|
utils.bindShortcut('ctrl+r', utils.reloadApp);
|
||||||
|
|
||||||
$("#open-dev-tools-button").toggle(utils.isElectron());
|
$("#open-dev-tools-button").toggle(utils.isElectron());
|
||||||
|
|
|
@ -73,6 +73,12 @@
|
||||||
<kbd>CTRL+SHIFT+I</kbd>
|
<kbd>CTRL+SHIFT+I</kbd>
|
||||||
</a>
|
</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">
|
<a class="dropdown-item" id="open-sql-console-button">
|
||||||
<span class="jam jam-database"></span>
|
<span class="jam jam-database"></span>
|
||||||
Open SQL Console
|
Open SQL Console
|
||||||
|
|
Loading…
Reference in a new issue