Javascript error INVALID_STATE_ERR: DOM Exception 11

I just added the Fotomoto script to the local dev copy of my website, but am getting a javascript error:
fotomoto-min.js:23 Uncaught Error: INVALID_STATE_ERR: DOM Exception 11

If I change the js display to pretty print (in Google Chrome), it shows the error being on line 5561, which is
j.innerHTML = c;

I think possibly the problem may be related to my website being served as XHTML+XML.

I am also using the jquery library on my site, along with jquery-ui and some custom js.

I have added the domain I am using to access the local dev copy of my site to the sites list in Fotomoto settings.
1 person has
this problem