mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
Fix broken preload expiration function.
>:(
This commit is contained in:
@@ -4,7 +4,7 @@ r.preload = {
|
||||
data: {},
|
||||
|
||||
isExpired: function() {
|
||||
return new Date() - this.timestamp < this.maxAge
|
||||
return new Date() - this.timestamp > this.maxAge
|
||||
},
|
||||
|
||||
set: function(data) {
|
||||
|
||||
Reference in New Issue
Block a user