mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
ESlint radix
This commit is contained in:
@@ -294,7 +294,7 @@ function filterByPostcount(posts, postCount, repliesFilter) {
|
||||
}
|
||||
|
||||
function filterByTimerange(posts, timeRange, timeFilter) {
|
||||
timeRange = parseInt(timeRange) * 1000;
|
||||
timeRange = parseInt(timeRange, 10) * 1000;
|
||||
if (timeRange) {
|
||||
var time = Date.now() - timeRange;
|
||||
if (timeFilter === 'newer') {
|
||||
|
||||
Reference in New Issue
Block a user