Skip to content

Commit 1407652

Browse files
committed
new warning
1 parent b2aa085 commit 1407652

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

css/mobile.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
:root {
1515
--bg_overlay:rgba(0,0,0,0.65);
1616
}
17-
.mainPageBtn, .mainPageAlt {
17+
.mainPageBtn, .mainPageAlt, .mainPageBtnH {
1818
width:calc(100% - 2em);
1919
}
2020
.choice div {

js/script.js

+3
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,9 @@ const skipBtn = function() {
639639
orienteering["skips"]++;
640640
updateCourseInfo();
641641
}
642+
else {
643+
warning("Skip Not Available","Please start course to use this function.",false);
644+
}
642645
};
643646
const shortenTextByPx = function(text, maxWidth) {
644647
const canvas = document.createElement("canvas");

0 commit comments

Comments
 (0)