MCPcopy Create free account
hub / github.com/Milkyroad/SCiPNET / launchButtonFun

Function launchButtonFun

public/src/js/military.js:409–425  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

407}
408
409function launchButtonFun() {
410 $(".nuclearButton:not(#nuclearCancel)").on('click.launch', function () {
411 if (targetList != "") {
412 // TODO: play audio
413 $("#militarynormal").css("transform", "scale(0.9, 0.9)").css("transition", "transform 0.5s linear");
414 $("#militarynormal").fadeOut(500, function () {
415 $("#militarynormal").attr("style", "")
416 $("#militarynormal").hide()
417 $("#militarysecond").fadeIn(500)
418 $("#militarysecond").css("display", "flex")
419 })
420 } else {
421 // TODO: warning no input
422
423 }
424 })
425}
426
427function searchMarker(data) {
428 if (data == '' || data == null) {

Callers 1

deploymentButtonFunFunction · 0.85

Calls 2

hideMethod · 0.80
$Function · 0.50

Tested by

no test coverage detected