The function was being called before it was defined, causing a runtime error. Moving the function definition before the whenReady callback ensures it's available when the callback executes. |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| vendor | ||
The function was being called before it was defined, causing a runtime error. Moving the function definition before the whenReady callback ensures it's available when the callback executes. |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| vendor | ||