beedesk / jQTouch

jQT + actively maintained + exclusive features (iPad layout, iscroll, tons of css enhancements, page events, param passing between pages, radio button, grid, mail, improved page history management etc.)
http://bit.ly/beedesk-jqt
MIT License
72 stars 13 forks source link

Port error #14

Closed davemcp closed 13 years ago

davemcp commented 13 years ago

When working with a domain like http://localhost:3000 the history was being inserted as http://3000localhost:3000 which then failed with JS security errors. Would partially load jQT.

thomasyip commented 13 years ago

It was a bad bug. Thank for the patch. Will get it in tonight.

Does "h.host" included the port number already?

davemcp commented 13 years ago

Yep, h.host contains the port already. I left it commented just for clarity, but feel free to simply delete it.