Feat: Reemplazar texto hardcodeado por variable APP_NAME del .env
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
/**
|
||||
* Nómina Pegaso - Global JavaScript Functions
|
||||
* App Name: window.APP_NAME (configured via Blade template)
|
||||
* Global JavaScript Functions
|
||||
*/
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var appName = window.APP_NAME || 'Nomina Pegasso';
|
||||
// Initialize all components
|
||||
initTooltips();
|
||||
initAnimations();
|
||||
|
||||
Reference in New Issue
Block a user