diff options
| author | s1n <[email protected]> | 2019-11-05 13:03:32 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-05 13:03:32 -0800 |
| commit | 91a13e83311cdbcb8aca40670e6e0a30642d6652 (patch) | |
| tree | 6d4863424f126b65e4ec6e09e12ecd921e5c7480 | |
| parent | Update index.html (diff) | |
| download | s1n.pw-admin-91a13e83311cdbcb8aca40670e6e0a30642d6652.tar.xz s1n.pw-admin-91a13e83311cdbcb8aca40670e6e0a30642d6652.zip | |
Update index.html
| -rw-r--r-- | index.html | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -103,6 +103,18 @@ <div class="clairo">
<span id="m-konami"></span>
</div>
+
+ <script>
+ if (screen.width > 768) { // If Desktop
+ document.getElementById("m-konami").innerHTML = `
+ <img src="/assets/imgs/clairo2.gif" alt="" width="30px">
+ `;
+ } else { // If Mobile
+ document.getElementById("m-konami").innerHTML = `
+ <img src="/assets/imgs/clairo2.gif" onclick="activateCheats()" alt="" width="30px">
+ `;
+ }
+ </script>
<!-- Konami Music -->
<!-- Background Music
|