Skip to content

Commit 8ffe54b

Browse files
committed
Nesting level fix
1 parent 538a0a9 commit 8ffe54b

File tree

1 file changed

+1
-0
lines changed
  • Earthdawn (FASA Official) character sheet companion/03.330

1 file changed

+1
-0
lines changed

Earthdawn (FASA Official) character sheet companion/03.330/Earthdawn.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,7 @@ Earthdawn.constantAlt = function( what ) {
10971097
Earthdawn.constantButton = function( what, nestingLevel ) {
10981098
'use strict';
10991099
try {
1100+
if( nestingLevel === undefined ) nestingLevel = 1;
11001101
let s, r = "&";
11011102
switch ( Earthdawn.safeString( what.trim().toLowerCase() )) { // For this upper half, we want to return html codes.
11021103
// These will eventually be converted to the real symbols later, but not until after they get past some chat command steps.

0 commit comments

Comments
 (0)