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

Function close

public/src/js/script.js:1013–1035  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1011 });
1012
1013function close() {
1014 if ($.isFunction($.fn.croppie)) {
1015 $("#previewBox").croppie("destroy");
1016 }
1017 if (typeof textRandom !== "undefined") {
1018 clearInterval(textRandom);
1019 clearInterval(dataRandom);
1020 clearInterval(dnaRandom);
1021 }
1022 if (typeof energyInterval !== "undefined") {
1023 removeMiInterval();
1024 }
1025 $(".modal").hide();
1026 $("#previewBox").html('<img id="previewBox" />');
1027 $(".modalText:not(#previewText)").html("");
1028 $("#NormalModalId h1").attr("class", "");
1029 $(".modal-content").addClass("tem");
1030 $(".tem").removeClass("modal-content");
1031 setTimeout(function () {
1032 $(".tem").addClass("modal-content");
1033 $(".modal-content").removeClass("tem");
1034 }, 10);
1035}
1036
1037//functions for open and close fullscreen
1038var elem = document.documentElement;

Callers 2

script.jsFile · 0.85
lockoutProcessFunFunction · 0.85

Calls 2

hideMethod · 0.80
$Function · 0.50

Tested by

no test coverage detected