fix: moved script to pixel.js

This commit is contained in:
Laureηt 2022-05-27 14:44:27 +02:00
parent 1939f8df0c
commit bf41fae2aa
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
2 changed files with 9 additions and 6 deletions

View file

@ -7,12 +7,6 @@
<link rel="stylesheet" href="title-bar.css" /> <link rel="stylesheet" href="title-bar.css" />
<link rel="stylesheet" href="login-signup.css" /> <link rel="stylesheet" href="login-signup.css" />
<link rel="stylesheet" href="pixels.css" /> <link rel="stylesheet" href="pixels.css" />
<script>
function toggleLoginSignup(l, s) {
document.getElementById("show-login").checked = l;
document.getElementById("show-signup").checked = s;
}
</script>
<script type="text/javascript" src="pixels.js"></script> <script type="text/javascript" src="pixels.js"></script>
</head> </head>

View file

@ -222,3 +222,12 @@ function updatePixelBuyPreview(pixel) {
} }
initBuyPixel(); initBuyPixel();
/////////////////////////
// LoginSignup stuff ? //
/////////////////////////
function toggleLoginSignup(l, s) {
document.getElementById("show-login").checked = l;
document.getElementById("show-signup").checked = s;
}