Skip to content

Commit

Permalink
Fix issue with buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
mautamu committed Jul 23, 2021
1 parent 0fd8ba9 commit d39b0b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion static/assets/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ appInfo.rollTime.setUTCHours(hourOffset, 0, 0, 0);

if (appInfo.rollTime < new Date()) {
appInfo.rollTime = new Date();
appInfo.rollTime.setUTCHours(4, 0, 0, 0);
appInfo.rollTime.setUTCHours(3, 0, 0, 0);
if (appInfo.rollTime < new Date()) {
appInfo.rollTime.setUTCDate(appInfo.rollTime.getUTCDate() + 1)
}
Expand Down
10 changes: 5 additions & 5 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<link rel="stylesheet" href="/assets/css/styles.css?v=20">
<script src="/assets/scripts/datatables.js"></script>
<script src="/assets/scripts/charts.js"></script>
<!-- <script async src="https://arc.io/widget.min.js#yF4KLU3R"></script> -->
<script async src="https://arc.io/widget.min.js#yF4KLU3R"></script>
</head>


Expand Down Expand Up @@ -243,7 +243,7 @@ <h3>Turn History</h3>
</script>
<script id="templateRoll" type="text/template">
<section class="roll-wrap" id="roll-container">
<form oninput="x.value=sumInNums()">
<!--<form oninput="x.value=sumInNums()">-->
<ul class="grid" id="action-container">
<li>
<h4>Attack</h4>
Expand All @@ -255,13 +255,13 @@ <h4>Defend</h4>
<div id="defend-list">
</div>
</li>
<li id="sender" style="display:none;">
<!--<li id="sender" style="display:none;">
<h4>Sum:<br/> <output name="x"></output></h4><br/>
<br/>
<h4>Max:<br/><output id="max_points_available" name="max_points_available"></output></h4><br/>
<button value="submit" class="disp-button hover-button">Submit</button>
</li>
</form>
</form>-->
</ul>
<ul class="ugrid" id="playerCard">
</ul>
Expand Down Expand Up @@ -472,7 +472,7 @@ <h2><a href="/team/{{team}}">{{team}}</a><br/> <i> {{team_2}} </i><br>
</center>
</li>
</script>
<script src="/assets/scripts/main.js?v=20">
<script src="/assets/scripts/main.js?v=22">
</script>
</body>

Expand Down

0 comments on commit d39b0b9

Please sign in to comment.