Refactor seasonal plugin configurations to improve clarity and consistency
- Updated comments for clarity on enabling/disabling features across various seasonal scripts. - Changed default value checks to ensure undefined values are handled consistently. - Enhanced readability by providing descriptive comments for configuration variables. [skip ci]
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const config = window.SeasonalsPluginConfig?.Eid || {};
|
||||
const eid = config.EnableEid !== undefined ? config.EnableEid : true;
|
||||
const lanternCount = config.LanternCount !== undefined ? config.LanternCount : 8;
|
||||
const lanternCountMobile = config.LanternCountMobile !== undefined ? config.LanternCountMobile : 3;
|
||||
const eid = config.EnableEid !== undefined ? config.EnableEid : true; // enable/disable eid
|
||||
const lanternCount = config.LanternCount !== undefined ? config.LanternCount : 8; // count of lantern
|
||||
const lanternCountMobile = config.LanternCountMobile !== undefined ? config.LanternCountMobile : 3; // count of lantern on mobile
|
||||
|
||||
const eidSymbols = ['🌙', '⭐', '✨'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user