Pass JSL lint

This commit is contained in:
Eric Fredricksen
2010-06-26 17:28:18 -07:00
parent 0e79521c2f
commit eb753b2c9d
3 changed files with 130 additions and 127 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ $(document).ready(function () {
RollEm();
$("#RandomName").click(GenClick);
if ($("#Name").text() == '') {
if (!$("#Name").text()) {
GenClick();
$("#Name")[0].focus();
$("#Name")[0].select();
@@ -80,7 +80,7 @@ $(document).ready(function () {
function UnrollClick() {
randseed = stats.history.pop();
$("#Unroll").attr("disabled", stats.history.length == 0);
$("#Unroll").attr("disabled", !stats.history.length);
RollEm();
}