Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
If you opened a D&D 2024 character on July 17 between 2:20 PM ET and 4:40 PM ET, and now see that your character data is missing/blank, please make a copy of your game and perform a rollback. Rollbacks have been enabled for all users during this period.
Create a free account

Character Sheet Changes not updating in game

1540311263
SᵃᵛᵃǤᵉ
Sheet Author
API Scripter
I have made some changes to the character sheet in&nbsp; <a href="https://app.roll20.net/join/3841529/Cxsrtw" rel="nofollow">https://app.roll20.net/join/3841529/Cxsrtw</a> However some of the changes are not being loaded in the game. They are shown in the preview and the HTML/CSS is reflecting the changes. Yet when I inspect the sheet in game the changes are not implemented. How it looks: How it should look: I have cleared cache, browsing history, and you see the console.
1540314583
SᵃᵛᵃǤᵉ
Sheet Author
API Scripter
Update: made a copy of game and error followed.
1540317230
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Well, an important part of this is what your code is. Can you share that? There are some things that don't work the same in the preview as in game. One of them is repeating sections, which it looks like from your images may be part of the issue.
1540328405
SᵃᵛᵃǤᵉ
Sheet Author
API Scripter
Here is the correct HTML for the section in question. &lt;div class="sheet-subheader"&gt; &lt;div class="sheet-cell sheet-col0"&gt;Loc.&lt;/div&gt; &lt;div class="sheet-cell sheet-col1"&gt;&lt;div class="sheet-popup"&gt;DR&lt;/div&gt;&lt;span class="sheet-tooltip"&gt;Split DR for &lt;br /&gt;layered protection&lt;/span&gt;&lt;/div&gt; Now here is what the console displays in game. Obviously this is not some complicated issue. The game is simply not updating that single section. Because I have updated other sections without issue even with the changes I made to this section. So, yeah this is not simply user error. &lt;div class="sheet-header"&gt; &lt;div class="sheet-cell sheet-col0"&gt;Loc.&lt;/div&gt; &lt;div class="sheet-cell sheet-col1"&gt;&lt;div class="sheet-popup"&gt;DR&lt;/div&gt;&lt;span class="sheet-tooltip"&gt;Split DR for &lt;br&gt;layered protection&lt;/span&gt;&lt;/div&gt;
1540339220
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I could be wrong, but I would guess that subheader is a reserved class maybe? try changing the class name (and in your css obviously).
1540397951
SᵃᵛᵃǤᵉ
Sheet Author
API Scripter
The class name isn't the issue either. I've used that same class name elsewhere in the sheet and it has implemented and displayed correctly. The solution was to create an entirely new game and slap the html and css in. The result of course was exactly what I wanted and expected. The problem is not with the code but with roll20. Some sort of glitch I suppose.