summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-08-21 10:05:56 +0200
committerYorhel <git@yorhel.nl>2011-08-21 10:06:34 +0200
commitf8c570291415473d786ae5eb2a96c1cbcec7cc99 (patch)
tree3f9c6ee9b979b0f295dfb9b4ec8087f810ae2cbb
parent2b128f87ea6900565c34b42cc1c01073323b59d9 (diff)
JS: Don't consider 256x384 a "bad" screenshot resolution
-rw-r--r--ChangeLog1
-rw-r--r--data/script.js2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 180253c9..d676cfb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
- Switched back to Algorithm::Diff::XS
- Added secondary ordering on title on releases listing on VN page
- Added i+/c+ ID recognition to VN search
+ - JS: Don't consider 256x384 a "bad" screenshot resolution
- Bugfix: Properly make i+ IDs linkable in bb2html()
- Bugfix: Make sure the user dropdown boxes work on /v+/chars
- Bugfix: dbTraitGet() filtering would not always work correctly
diff --git a/data/script.js b/data/script.js
index 5d033ec8..e85bce3d 100644
--- a/data/script.js
+++ b/data/script.js
@@ -1128,6 +1128,8 @@ function scrCheckStatus() {
// check full resolution with the list of DB-defined resolutions
var odd = true;
+ if(dim == '256x384') // special-case NDS resolution (not in the DB)
+ odd = false;
for(var j=0; j<resolutions.length && odd; j++) {
if(typeof resolutions[j][1] != 'object') {
if(resolutions[j][0] == dim)