When I build, JS doesn't execute
![](https://i.imgur.com/G8UT7sqb.jpg)
broadwaydude
20 Jun 2020, 11:12So I make my story on the downloaded version for mac, and I decided to write some code to change the background.
[[Start]]:
$('#output').css("background-color", "#0E0F0E");
The heist might have been a sinch, but we still needed to buy some more supplies.
It works on the output, but when I build it, the background reverts to the standard boring white. Why must this cruelty occur?
![](https://i.imgur.com/G8UT7sqb.jpg)
broadwaydude
21 Jun 2020, 08:00Okay, I fixed it. Just had to change '#output' to 'body'. It's all good now.