Little tweaks to improve UX

This commit is contained in:
Robbie Antenesse 2015-11-04 14:35:33 -07:00
parent 75bd9ec216
commit 782a5140e7
2 changed files with 2 additions and 1 deletions

View File

@ -81,7 +81,7 @@
<div id="theDictionary"></div> <div id="theDictionary"></div>
</div> </div>
<div id="rightColumn" class="googleads" style="float:right;width:20%;max-width:300px;min-width:200px;"> <div id="rightColumn" class="googleads" style="float:right;width:20%;max-width:300px;min-width:200px;overflow:hidden;">
<?php include_once("php/google/adsense.php"); ?> <?php include_once("php/google/adsense.php"); ?>
</div> </div>

View File

@ -334,6 +334,7 @@ function ShowInfo(text) {
} else { } else {
document.getElementById("infoText").innerHTML = aboutText; document.getElementById("infoText").innerHTML = aboutText;
} }
document.getElementById("infoPage").scrollTop = 0;
document.getElementById("infoScreen").style.display = "block"; document.getElementById("infoScreen").style.display = "block";
} }