When I build, JS doesn't execute

broadwaydude
20 Jun 2020, 11:12

So 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?


broadwaydude
21 Jun 2020, 08:00

Okay, I fixed it. Just had to change '#output' to 'body'. It's all good now.