Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

don't position the jsonp form off the screen #412

Merged
merged 1 commit into from Apr 6, 2012
Jump to file or symbol
Failed to load files and symbols.
+7 −5
Split
View
@@ -3617,8 +3617,9 @@ var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="Sho
form.className = 'socketio';
form.style.position = 'absolute';
- form.style.top = '-1000px';
- form.style.left = '-1000px';
+ form.style.top = '0px';
+ form.style.left = '0px';
+ form.style.display = 'none';
form.target = id;
form.method = 'POST';
form.setAttribute('accept-charset', 'utf-8');
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -85,8 +85,9 @@
form.className = 'socketio';
form.style.position = 'absolute';
- form.style.top = '-1000px';
- form.style.left = '-1000px';
+ form.style.top = '0px';
+ form.style.left = '0px';
+ form.style.display = 'none';
form.target = id;
form.method = 'POST';
form.setAttribute('accept-charset', 'utf-8');