()
| 494 | } |
| 495 | |
| 496 | function cancelButtonFun() { |
| 497 | $("#nuclearCancel").on('click.cancel', function () { |
| 498 | // TODO: add sound effect |
| 499 | addMiInterval() |
| 500 | $(".nuclearHide").fadeOut(500) |
| 501 | $("#hiddenDash").fadeOut(500, function () { |
| 502 | $(".showDash").fadeIn(500) |
| 503 | }) |
| 504 | $("#nuclearText").text("NUCLEAR WARHEAD DEPLOYMENT") |
| 505 | $(".nuclearButton:not(#nuclearCancel)").attr("id", "") |
| 506 | addPowerGraph() |
| 507 | deploymentButtonFun() |
| 508 | resetMarkers() |
| 509 | }) |
| 510 | } |
| 511 | |
| 512 | cancelButtonFun() |
| 513 | deploymentButtonFun() |
no test coverage detected