added button for reloading frontend

This commit is contained in:
zadam 2019-04-14 12:48:50 +02:00
parent 253a6ef081
commit b2d4330692
2 changed files with 7 additions and 0 deletions

View file

@ -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());

View file

@ -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