Skip to content

Commit d3c5dcb

Browse files
authored
Update frensync.user.js
reverted the change in the update mechanism
1 parent 66c4e53 commit d3c5dcb

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

frensync.user.js

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name frensync
3-
// @version 0.2.13
3+
// @version 0.2.14
44
// @minGMVer 1.14
55
// @minFFVer 26
66
// @namespace frensync
@@ -32,7 +32,7 @@
3232

3333
g = {
3434
NAMESPACE: 'frensync',
35-
VERSION: '0.2.13',
35+
VERSION: '0.2.14',
3636
MsApi: '1',
3737
posts: {},
3838
threads: [],
@@ -666,7 +666,7 @@
666666
}
667667

668668

669-
if ((!linfo && !oinfo) || (oinfo && oinfo.ups > ( 6 + Posts.nameByPost.length))) {//forces an update with every new post but doesn't update to death on an stalled thread
669+
if (!linfo && !oinfo) {
670670
return;
671671
}
672672

@@ -833,15 +833,6 @@
833833
}
834834
}
835835

836-
//Remember that we updated the DOM
837-
if(!oinfo.ups && Posts.nameByPost[oinfo.p]){
838-
Posts.nameByPost[oinfo.p].ups = 1 ;
839-
}
840-
if(Posts.nameByPost[oinfo.p].ups != null){
841-
Posts.nameByPost[oinfo.p].ups++;
842-
}
843-
844-
845836
return $.event('FSPostUpdated');
846837

847838
}

0 commit comments

Comments
 (0)