From e6cbe3a26938ca8d88d44bacc6c40ba09f5f1fd1 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 23 Sep 2009 11:07:22 -0400 Subject: Revert "Added a check for any URL param. If found, strips them out before" This reverts commit 13de845e95da9ea579516c4480789819c9a26edd. --- plugins/Meteor/meteorupdater.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'plugins') diff --git a/plugins/Meteor/meteorupdater.js b/plugins/Meteor/meteorupdater.js index 91d12cde9..a7c87330c 100644 --- a/plugins/Meteor/meteorupdater.js +++ b/plugins/Meteor/meteorupdater.js @@ -11,17 +11,11 @@ var MeteorUpdater = function() Meteor.callbacks["process"] = function(data) { var d = JSON.parse(data); - var 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('?')) - } + $user_url = $('address .url')[0].href+d['user']['screen_name']; if (timeline == 'public' || - user_url+'/all' == wlh || - user_url == wlh) { + $user_url+'/all' == window.location.href || + $user_url == window.location.href) { RealtimeUpdate.receive(d); } -- cgit v1.2.3-54-g00ecf