forked from GithubMirrors/cardconjurer
Update hide reminder text to replace globally
This commit is contained in:
@@ -2696,7 +2696,7 @@ function writeText(textObject, targetContext) {
|
|||||||
rulesText = rawText.substring(0, flavorIndex);
|
rulesText = rawText.substring(0, flavorIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
rulesText = rulesText.replace(/\([^\)]+\)/, '');
|
rulesText = rulesText.replace(/\([^\)]+\)/g, '');
|
||||||
|
|
||||||
rawText = rulesText + flavorText;
|
rawText = rulesText + flavorText;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user