kopia lustrzana https://github.com/magicbug/Cloudlog
Bandmap2QSO Basics
rodzic
701404c820
commit
1e6e368362
|
@ -15,6 +15,12 @@ $(function() {
|
||||||
'createdCell': function (td, cellData, rowData, row, col) {
|
'createdCell': function (td, cellData, rowData, row, col) {
|
||||||
$(td).addClass("kHz");
|
$(td).addClass("kHz");
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'targets': 2,
|
||||||
|
'createdCell': function (td, cellData, rowData, row, col) {
|
||||||
|
$(td).addClass("spotted_call");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
@ -112,6 +118,12 @@ $(function() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('click','.spotted_call', function() {
|
||||||
|
var bc = new BroadcastChannel('qso_wish');
|
||||||
|
bc.postMessage(this.innerText);
|
||||||
|
console.log(this.innerText);
|
||||||
|
});
|
||||||
|
|
||||||
$("#menutoggle").on("click", function() {
|
$("#menutoggle").on("click", function() {
|
||||||
if ($('.navbar').is(":hidden")) {
|
if ($('.navbar').is(":hidden")) {
|
||||||
$('.navbar').show();
|
$('.navbar').show();
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
$( document ).ready(function() {
|
$( document ).ready(function() {
|
||||||
|
|
||||||
|
var bc = new BroadcastChannel('qso_wish');
|
||||||
|
bc.onmessage = function (ev) { console.log(ev); } /* receive */
|
||||||
|
|
||||||
$("#locator")
|
$("#locator")
|
||||||
.popover({ placement: 'top', title: 'Gridsquare Formatting', content: "Enter multiple (4-digit) grids separated with commas. For example: IO77,IO78" })
|
.popover({ placement: 'top', title: 'Gridsquare Formatting', content: "Enter multiple (4-digit) grids separated with commas. For example: IO77,IO78" })
|
||||||
.focus(function () {
|
.focus(function () {
|
||||||
|
|
Ładowanie…
Reference in New Issue