mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-21 08:26:29 -05:00
Added debugging
This commit is contained in:
parent
1565c4be14
commit
35e3b8f579
1 changed files with 8 additions and 1 deletions
9
main.js
9
main.js
|
@ -325,7 +325,14 @@ if (!i_can_has_good_crypto()) {
|
|||
//
|
||||
jQuery.getScript("./wordlist.js").done(
|
||||
function(data) {
|
||||
//jQuery("#roll_dice").click(); // Debugging
|
||||
|
||||
//
|
||||
// If "debug" is set in the GET data, roll the dice on page load.
|
||||
// Speed up my development a bit. :-)
|
||||
//
|
||||
if (location.search.indexOf("debug") != -1) {
|
||||
jQuery("#roll_dice").click(); // Debugging
|
||||
}
|
||||
|
||||
}).fail(
|
||||
function(jqxhr, settings, exception) {
|
||||
|
|
Loading…
Reference in a new issue