Browse Source

Add isRandomized to query params

main
indigane 4 years ago committed by GitHub
parent
commit
261e15f38e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      common-scripts.js

3
common-scripts.js

@ -71,6 +71,9 @@ function loadFromQueryParameters() {
if (params.get('allowCategoryEditing') !== null) {
settings.allowCategoryEditing = Boolean(parseInt(params.get('allowCategoryEditing')));
}
if (params.get('isRandomized') !== null) {
settings.isRandomized = Boolean(parseInt(params.get('isRandomized')));
}
data[uncategorizedKey] = cardTexts;
data[settingsFlagsKey] = saveSettings(settings);
for (const categoryName of categories) {

Loading…
Cancel
Save