I"m trying to run through the sample Depot app while I learn all the
little pieces of Rails and I came upon an error I’m intrigued by.
I am adding an Ajax hook into a page view and the content is rendered
correctly (It’s the D2 - Ajax Based Cart section). The problem is, when
I use the ‘add to cart’ button it adds the element but the HTML sent
back by the Ajax call isn’t treated by the stylesheets (although all the
data is intact, it’s just in black text / normal size), if I refresh the
whole page it’s rendered fine.
I have basically ‘diffed’ the section of the cart being rendered and
there is not a single thing wrong, hence why I suspect it’s how Firefox
handle CSS applications post page processing.
Then again I see site using Ajax without this issue so I know it’s me
and not Firefox.