summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)