mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-12 16:25:34 -04:00
Revert "switch to group discussion tab"
This reverts commit 01bb731f54
.
This commit is contained in:
parent
9a8fc15ff2
commit
c3a19d3186
1 changed files with 0 additions and 12 deletions
|
@ -46,18 +46,6 @@ var umbraState = {'idleSince':null,'expectingSomething':null,'bottomReachedScrol
|
||||||
|
|
||||||
var umbraIntervalFunc = function() {
|
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 thingsToScroll = document.querySelectorAll(UMBRA_THINGS_TO_SCROLL_SELECTOR);
|
||||||
var everythingScrolled = true;
|
var everythingScrolled = true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue