diff --git a/solo-roleplaying-toolkit.html b/solo-roleplaying-toolkit.html index b1aeb81..994ae8c 100644 --- a/solo-roleplaying-toolkit.html +++ b/solo-roleplaying-toolkit.html @@ -4369,8 +4369,12 @@ var quick_rolls_text = ""; var quick_rolls = []; + var showing_quick_rolls = false; + + var showDice = function(rolls, show_quick_rolls) { + + showing_quick_rolls = showing_quick_rolls || show_quick_rolls; - var showDice = function(rolls) { addClass("#results", "full-width"); if (rolls !== undefined) $("#dice").value = rolls; @@ -4542,7 +4546,11 @@ else if (!types.length) types.unshift("Total: None"); $("#dice-rolls").innerHTML = ""; - fadeIn("#dice-rolls", 0, "

" + output.join("
") + "


" + types.join("

") + "

"); + + fadeIn("#dice-rolls", 0, + "

" + output.join("
") + "


" + types.join("

") + "

" + + ((showing_quick_rolls) ? "

" : "") + ); }; var addDice = function(dice) { @@ -4556,6 +4564,8 @@ var showDiceRoller = function() { var a, output; + showing_quick_rolls = false; + display($("#dice-roller").innerHTML); if (!quick_rolls.length) output = "
  • List is Empty
  • "; @@ -4591,7 +4601,7 @@ for (a = 0; a < lines.length; ++a) { if (lines[a].trim().length < 1) continue; temp = lines[a].split(":"); - quick_rolls.push("" + temp[0].trim() + ""); + quick_rolls.push("" + temp[0].trim() + ""); } showDiceRoller(); @@ -6087,7 +6097,7 @@

    2D63D6D2D3
    - IronswornFATE + FateIronsworn