]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "Added a check for any URL param. If found, strips them out before"
authorEvan Prodromou <evan@status.net>
Wed, 23 Sep 2009 15:07:22 +0000 (11:07 -0400)
committerEvan Prodromou <evan@status.net>
Wed, 23 Sep 2009 15:07:22 +0000 (11:07 -0400)
This reverts commit 13de845e95da9ea579516c4480789819c9a26edd.

plugins/Meteor/meteorupdater.js

index 91d12cde9c2696b546b2eeb37cec21ef09ef6ca6..a7c87330c9bfc4ff69796984e74af8080f047e26 100644 (file)
@@ -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);
                 }