Skip to content

Commit

Permalink
0
Browse files Browse the repository at this point in the history
  • Loading branch information
nonamenoname committed Jul 4, 2024
1 parent 1207e3f commit 852dca9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title>One Armed Bandit</title>
<script src="https://telegram.org/js/telegram-web-app.js"></script>
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/dist/css/bootstrap-reboot.min.css"
Expand All @@ -18,7 +19,7 @@
<div class="reel"></div>
</div>
<div id="controls">
<button type="button" id="spin" class="button button--helene">SPIN</button>
<button type="button" id="spin" class="btn btn-lg btn-primary">SPIN</button>
<label>
<input type="checkbox" name="autoplay" id="autoplay" hidden="true" disabled="true"/>
Autoplay
Expand Down
2 changes: 2 additions & 0 deletions src/js/twa.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
let tg = window.Telegram.WebApp;
tg.expand();

0 comments on commit 852dca9

Please sign in to comment.