commit bcf97a0ee3d1ed3ed5e0aab100659bb1da4a8178
parent c4457c6f946abe96153dac9249970d61e1e34946
Author: Georges Dupéron <jahvascriptmaniac+github@free.fr>
Date: Sat, 21 May 2011 15:48:55 +0200
Ne pas afficher le bouton "retour au site" sur l'appli Android.
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/code/serveur/php/jeu.php b/code/serveur/php/jeu.php
@@ -78,7 +78,7 @@
</div>
</div>
<div id="frontpage" class="screen fitFontGroup">
- <a href="index.php" style="width:20%; height:4%; top:2%; right:2%; position:absolute;" class="fitFont button">
+ <a id="back2site" href="index.php" style="width:20%; height:4%; top:2%; right:2%; position:absolute;" class="fitFont button">
<span class="marginBox"><span class="center">Retour au site</span></span>
</a>
<div style="width:50%; height:24%; top:4%; left:25%; position:absolute;" class="fitFont">
diff --git a/code/serveur/php/ressources/pticlic.js b/code/serveur/php/ressources/pticlic.js
@@ -141,6 +141,7 @@ init(function() {
init(function() {
$('.goFrontpage').click(function() { location.hash = "#frontpage"; });
$.screen('frontpage').bind('enter', function() { window.document.title = "PtiClic pre-alpha 0.2"; });
+ if (UI().isAndroid()) $('#back2site').hide();
});
// ==== Écran connexion