mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-21 08:06:27 -04:00
Revert "switch to group discussion tab"
This reverts commit 01bb731f54784e1ca271fb1f9b48ec2827e5dd80.
This commit is contained in:
parent
5e1c86421e
commit
423e91a69f
@ -46,18 +46,6 @@ var umbraState = {'idleSince':null,'expectingSomething':null,'bottomReachedScrol
|
||||
|
||||
var umbraIntervalFunc = function() {
|
||||
|
||||
// for facebook groups, switch to Discussion tab url
|
||||
fbURL = window.location.href;
|
||||
if (fbURL.indexOf("/groups/") !== -1 && fbURL.indexOf("?ref=direct") === -1) {
|
||||
navlinks = document.querySelectorAll('a._2yau');
|
||||
navlinks[1].click(); // click current Discussion link
|
||||
return;
|
||||
//groupDiscussionURL = fbURL.match("https://www.facebook.com/groups/[^/]+")[0] + "/?ref=direct";
|
||||
//if (groupDiscussionURL) {
|
||||
// window.location.href = groupDiscussionURL;
|
||||
// return;
|
||||
//}
|
||||
}
|
||||
var thingsToScroll = document.querySelectorAll(UMBRA_THINGS_TO_SCROLL_SELECTOR);
|
||||
var everythingScrolled = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user