diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ foreach ($divs as $div) { // If we get a min without a max, we're probably in night mode (only min and current listed) if ($span->nodeValue == "Max") { $maxcount++; - } else if ($span->nodeValue == "Min" && $max < 1) { + } else if ($span->nodeValue == "Min" && $maxcount < 1) { $nightmode = 1; } else if ($span->nodeValue == "Min") { $maxcount--; |