From 04c601de115aa229abb251cf9e38e93e70c7d2f9 Mon Sep 17 00:00:00 2001 From: liujianhuan Date: Tue, 19 Jan 2021 22:04:57 +0800 Subject: [PATCH] add test link --- scripts/myscript.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/myscript.js b/scripts/myscript.js index 84b4a69..6866174 100644 --- a/scripts/myscript.js +++ b/scripts/myscript.js @@ -9,7 +9,7 @@ obox1.style.display = "none"; obox1.setAttribute("class", "movie") var obox2 = document.createElement("div") -obox2.innerHTML = ''; +obox2.innerHTML = ''; obox2.style.position = "fixed"; obox2.style.bottom = "0px"; obox2.style.left = "0px"; @@ -22,7 +22,7 @@ sbox.appendChild(obox1); var rand = Math.random(); console.log(rand); -if (rand > 0.3) { +if (rand > 0.7) { sbox.appendChild(obox2); setTimeout(function(){ obox2.style.display = "block";