1
0
Fork 0

Some code cleanup

main
Kim Huebel 4 years ago
parent 5917968731
commit 261f7607b5

@ -89,7 +89,6 @@ function getBER(logline) {
} }
} }
function getAddToQSO(logline) { function getAddToQSO(logline) {
callsign = logline.substring(logline.indexOf("from") + 5, logline.indexOf("to")).trim(); callsign = logline.substring(logline.indexOf("from") + 5, logline.indexOf("to")).trim();
retval = '<div class="bd-clipboard"><button type="button" class="btn-cpQSO" title="Copy to QSO" id="' + callsign + '" onclick="copyToQSO(\'' + callsign + '\')">Copy</button></div>'; retval = '<div class="bd-clipboard"><button type="button" class="btn-cpQSO" title="Copy to QSO" id="' + callsign + '" onclick="copyToQSO(\'' + callsign + '\')">Copy</button></div>';
@ -582,6 +581,7 @@ $(document).ready(function() {
default: default:
var element = document.getElementById("currtx-tab"); var element = document.getElementById("currtx-tab");
element.classList.add("active"); element.classList.add("active");
element = document.getElementById("currtx"); element = document.getElementById("currtx");
element.classList.add("show"); element.classList.add("show");
element.classList.add("active"); element.classList.add("active");

Loading…
Cancel
Save