Revert "Added a check for any URL param. If found, strips them out before"

This reverts commit 13de845e95.
This commit is contained in:
Evan Prodromou 2009-09-23 11:07:22 -04:00
parent bef4a8b6ba
commit e6cbe3a269

View File

@ -11,17 +11,11 @@ var MeteorUpdater = function()
Meteor.callbacks["process"] = function(data) { Meteor.callbacks["process"] = function(data) {
var d = JSON.parse(data); var d = JSON.parse(data);
var user_url = $('address .url')[0].href+d['user']['screen_name']; $user_url = $('address .url')[0].href+d['user']['screen_name'];
var wlh = window.location.href;
if (wlh.indexOf('?') > 0) {
wlh = wlh.slice(0, wlh.indexOf('?'))
}
if (timeline == 'public' || if (timeline == 'public' ||
user_url+'/all' == wlh || $user_url+'/all' == window.location.href ||
user_url == wlh) { $user_url == window.location.href) {
RealtimeUpdate.receive(d); RealtimeUpdate.receive(d);
} }