Fixed shortcuts working before settings are loaded.
This commit is contained in:
parent
9eec273de0
commit
231416f832
|
|
@ -1192,6 +1192,9 @@ function onAudioStart(apiType){
|
||||||
// Load user interface settings from local storage
|
// Load user interface settings from local storage
|
||||||
UI.loadSettings();
|
UI.loadSettings();
|
||||||
Chat.loadSettings();
|
Chat.loadSettings();
|
||||||
|
|
||||||
|
// Initialize keyboard shortcuts
|
||||||
|
Shortcuts.init(document.body);
|
||||||
}
|
}
|
||||||
|
|
||||||
var reconnect_timeout = false;
|
var reconnect_timeout = false;
|
||||||
|
|
@ -1403,9 +1406,6 @@ function openwebrx_init() {
|
||||||
|
|
||||||
// Create and run clock
|
// Create and run clock
|
||||||
clock = new Clock($('#openwebrx-clock-utc'));
|
clock = new Clock($('#openwebrx-clock-utc'));
|
||||||
|
|
||||||
// Initialize keyboard shortcuts
|
|
||||||
Shortcuts.init(document.body);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function initSliders() {
|
function initSliders() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue