From 2b0e6b2c494b97d51c3725a7ea738b2e6afdf2dc Mon Sep 17 00:00:00 2001 From: Douglas Muth Date: Sun, 26 Apr 2015 17:14:21 -0400 Subject: [PATCH] Formatting of passphrase and fixed lingering whitespace issue. --- index.html | 10 ++++------ main.js | 8 ++++++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 1b7b529..17dca36 100644 --- a/index.html +++ b/index.html @@ -80,13 +80,11 @@
- Your words are: - -

+

Your words are:
+
- Your passphrase is: - -

+

Your passphrase is:
+
diff --git a/main.js b/main.js index 12d7ecf..747f8ae 100644 --- a/main.js +++ b/main.js @@ -73,10 +73,9 @@ function display_row(rows, cb) { var tmp = row.hide().appendTo(".results") .delay(fadein_delay) .fadeIn(duration, function() { - jQuery(".results").append("
"); display_row(rows, cb); }) - .delay(1000).fadeOut(duration); + .delay(1000).fadeOut(); } else { // @@ -167,6 +166,11 @@ jQuery("#roll_dice").on("click", function(e) { var dice_word = jQuery(".dice_word").clone(); dice_word.html("\"" + roll.word + "\""); row.append(dice_word); + + // + // And clear to the next line + // + row.append("
"); rows.push(row);