Skip to content

Commit

Permalink
modified: js/calculate.js
Browse files Browse the repository at this point in the history
	modified:   js/functions.js
  • Loading branch information
ciderated committed Nov 8, 2024
1 parent a2ce536 commit b774fa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/calculate.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function trainingCalc() { // 훈련 계산

let time2Change = (appliedTime / finalTrainSpeed) - ((appliedTime - ireneNeed) / finalTrainSpeed);
let time2Change2 = ((appliedTime - ireneNeed) / (finalTrainSpeed));

console.log(appliedTime / finalTrainSpeed);
if (appliedTime - ireneNeed < 0) {
resultElement.innerHTML = "<h1>NN:NN:NN</h1>";
result2Element.innerHTML = "<h1>아이린 사용 불가!</h1>";
Expand Down
4 changes: 2 additions & 2 deletions js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ function convertTime(inputTime) {
function displayImage() {
let displaying = document.getElementById("imageSet");
if (isMobile()) {
displaying.innerHTML = "<img src=\"image\\mobileres.png\" class=\"img-fluid p-3\" style=\"max-width: 75%; min-width: 500px;\">";
displaying.innerHTML = "<img src=\"image\\mobileres.png\" class=\"img-fluid p-3\" style=\"max-width: 75%;\">";
} else {
displaying.innerHTML = "<img src=\"image\\screenshot.png\" class=\"img-fluid p-3\" style=\"max-width: 75%; min-width: 770px;\">";
displaying.innerHTML = "<img src=\"image\\screenshot.png\" class=\"img-fluid p-3\" style=\"max-width: 75%; min-width: 360px;\">";
}
}

Expand Down

0 comments on commit b774fa2

Please sign in to comment.