When I build, JS doesn't execute

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?


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


Log in to post a reply.

Support

Forums