Merge pull request #2540 from int2001/wkey_hotfix

Wkey hotfix [WIP]
This commit is contained in:
Peter Goodhall
2023-10-04 10:19:32 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -947,7 +947,7 @@ $(document).on('keypress',function(e) {
<?php if ($this->uri->segment(1) == "qso") { ?>
<script src="<?php echo base_url() ;?>assets/js/sections/qso.js"></script>
<?php if ($this->config->item('winkey')) { ?>
<?php if ($this->session->userdata('isWinkeyEnabled')) { ?>
<script src="<?php echo base_url() ;?>assets/js/winkey.js"></script>
<?php }

View File

@@ -71,7 +71,7 @@ let statusBar = document.getElementById("statusBar");
//Couple the elements to the Events
connectButton.addEventListener("click", clickConnect)
sendButton.addEventListener("click", clickSend)
statusButton.addEventListener("click", clickStatus)
// statusButton.addEventListener("click", clickStatus)
//When the connectButton is pressed
async function clickConnect() {
@@ -310,4 +310,4 @@ function getMacros() {
const morsekey_func5_Button = document.getElementById('morsekey_func5');
morsekey_func5_Button.textContent = 'F5 (' + function5Name + ')';
});
}
}