Added debugging

This commit is contained in:
Douglas Muth 2015-04-27 21:38:22 -04:00
parent 1565c4be14
commit 35e3b8f579

View file

@ -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) {