I’ve been using Twitter SDK with Javascript(jQuery) on a desktop browser, and everything works great. I get the response from the window,and it closes the window by itself no problem. However in a mobile browser, on the same page, it opens the window, I post the tweet, but it doesn’t trigger the response in my code, and the window doesn’t get closed by itself(with no close button either), though it doesn’t matter as much - the main problem is how to trigger that response.

Here’s some code for how I use the API, and where I handle the response: