Fix hopper (#607)

This commit is contained in:
Henry Wang
2018-09-01 23:17:27 +08:00
committed by DIYgod
parent 77e1c8a869
commit ecec647b22
+1 -1
View File
@@ -23,7 +23,7 @@ module.exports = async (ctx) => {
const list = $('div.prices li a');
const items = [];
if (!list.length === 0) {
if (list.length !== 0) {
if (type === '1') {
let lowest = 99999;
let lowIndex = 0;