Skip to content

Commit

Permalink
hide 'fork me' on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Jan 8, 2013
1 parent c52a45f commit 887a3c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -73,10 +73,10 @@
<script type="text/javascript" src="js/sounds.js" charset="utf-8"></script>


<a href="https://github.com/digitaltom/jump-run">
<a href="https://github.com/digitaltom/jump-run" id="github-fork-me">
<img style="position: absolute; top: 0; right: 0; border: 0;"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
alt="Fork me on GitHub"></a>
alt="Fork me on GitHub"></a>

<img src="themes/suse/images/game_tiles.png" width="0" height="0"/>
<img src="themes/suse/images/player_sprites.png" width="0" height="0"/>
Expand Down
1 change: 1 addition & 0 deletions js/controls.js
Expand Up @@ -83,6 +83,7 @@ function registerControls() {
// touch based controls:

if (is_touch_device()) {
document.getElementById("github-fork-me").style.visibility = "hidden"
document.getElementById("pad-controls").style.visibility = "visible"
}

Expand Down

0 comments on commit 887a3c9

Please sign in to comment.