In my local browser I had a jquery dialog box that displays fine, using the default theme. When I publish the site, however, the cross is missing from the close button.
When I check the live site, it has the correct icon images in the correct folder, and it can display them as expected if you navigate to the URL.
To my surprise, when I inspect the element in Chrome, I see that both sites have the same style applied:
.ui-button .ui-icon {
background-image: url(images/ui-icons_777777_256x240.png);
}
But if you hover over the url, the two resolve differently.
https://[live]/Content/images/ui-icons_777777_256x240.png
https://[local]/Content/themes/base/images/ui-icons_777777_256x240.png
The bottom one - where the local site is looking - is correct. The other location is empty.
As far as I'm aware, there's no setting or anything else that I've changed to control this behaviour. Why is jQuery looking in two different places?