Skip to content

Commit

Permalink
Placed window.onload
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDevX authored Dec 9, 2018
1 parent e990bf5 commit f251488
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
window.onload = function(){
Preload();
SetENG();
}
function Preload(){
sbts = 1;
}
function SolveEquation(){
if(sbts == 1){
a = document.getElementById("input_a").value;
Expand Down Expand Up @@ -109,6 +116,3 @@ function SolvedOut(){
document.getElementById("solved").innerHTML += l13 + "<br>";
}
}
function Preload(){
sbts = 1;
}

0 comments on commit f251488

Please sign in to comment.