git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit e6cbe3a2 authored by Evan Prodromou's avatar Evan Prodromou

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

This reverts commit 13de845e.
parent bef4a8b6
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment