diff --git a/CHANGELOG.md b/CHANGELOG.md
index f1ca61ec8..efc734bb4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@ Sometimes the changelog has notes (not comprehensive) acknowledging people's wor
### v1.11.25
+**v1.11.25.1** *(2016-02-12)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.25.1/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.25.1/builds/4chan-X-noupdate.crx "Chromium version")]
+- Bugfix for 2x4 image captcha.
+
**v1.11.25.0** *(2016-02-11)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.25.0/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.11.25.0/builds/4chan-X-noupdate.crx "Chromium version")]
- Based on v1.11.24.2.
- Support new 2x4 image captcha.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index 7b7810ca7..672d1bfaf 100644
Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ
diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js
index 585192180..5e6ec85d6 100644
--- a/builds/4chan-X-beta.meta.js
+++ b/builds/4chan-X-beta.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.25.0
+// @version 1.11.25.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js
index a05549484..a837fe84f 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
-// @version 1.11.25.0
+// @version 1.11.25.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -436,7 +436,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.25.0',
+ VERSION: '1.11.25.1',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -8102,7 +8102,7 @@
ref = this.imageKeys16;
for (i = k = 0, len1 = ref.length; k < len1; i = ++k) {
key = ref[i];
- if ((node = nodes[(Math.floor(i / 4)) * this.width + (i % 4)])) {
+ if (i % 4 < this.width && (node = nodes[nodes.length - (4 - Math.floor(i / 4)) * this.width + (i % 4)])) {
node.title = "" + (key[0].toUpperCase()) + key.slice(1);
}
}
@@ -8141,7 +8141,7 @@
} else if (n === 9 && (i = this.imageKeys.indexOf(key)) >= 0) {
this.images[i % 9].click();
verify.focus();
- } else if (n !== 9 && (i = this.imageKeys16.indexOf(key)) >= 0 && (img = this.images[(Math.floor(i / 4)) * w + (i % 4)])) {
+ } else if (n !== 9 && (i = this.imageKeys16.indexOf(key)) >= 0 && i % 4 < w && (img = this.images[n - (4 - Math.floor(i / 4)) * w + (i % 4)])) {
img.click();
verify.focus();
} else if (dx = {
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 00d4c9dce..95ada5d34 100644
Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ
diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js
index 46344f5b1..4fa59eea7 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.25.0
+// @version 1.11.25.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -436,7 +436,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.25.0',
+ VERSION: '1.11.25.1',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -8102,7 +8102,7 @@
ref = this.imageKeys16;
for (i = k = 0, len1 = ref.length; k < len1; i = ++k) {
key = ref[i];
- if ((node = nodes[(Math.floor(i / 4)) * this.width + (i % 4)])) {
+ if (i % 4 < this.width && (node = nodes[nodes.length - (4 - Math.floor(i / 4)) * this.width + (i % 4)])) {
node.title = "" + (key[0].toUpperCase()) + key.slice(1);
}
}
@@ -8141,7 +8141,7 @@
} else if (n === 9 && (i = this.imageKeys.indexOf(key)) >= 0) {
this.images[i % 9].click();
verify.focus();
- } else if (n !== 9 && (i = this.imageKeys16.indexOf(key)) >= 0 && (img = this.images[(Math.floor(i / 4)) * w + (i % 4)])) {
+ } else if (n !== 9 && (i = this.imageKeys16.indexOf(key)) >= 0 && i % 4 < w && (img = this.images[n - (4 - Math.floor(i / 4)) * w + (i % 4)])) {
img.click();
verify.focus();
} else if (dx = {
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 6c66acddc..95deacec1 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index e4faeaa9a..c4b466c7d 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.11.25.0
+// @version 1.11.25.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index c901419d3..fcbdc1130 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
-// @version 1.11.25.0
+// @version 1.11.25.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -436,7 +436,7 @@
doc = d.documentElement;
g = {
- VERSION: '1.11.25.0',
+ VERSION: '1.11.25.1',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -8102,7 +8102,7 @@
ref = this.imageKeys16;
for (i = k = 0, len1 = ref.length; k < len1; i = ++k) {
key = ref[i];
- if ((node = nodes[(Math.floor(i / 4)) * this.width + (i % 4)])) {
+ if (i % 4 < this.width && (node = nodes[nodes.length - (4 - Math.floor(i / 4)) * this.width + (i % 4)])) {
node.title = "" + (key[0].toUpperCase()) + key.slice(1);
}
}
@@ -8141,7 +8141,7 @@
} else if (n === 9 && (i = this.imageKeys.indexOf(key)) >= 0) {
this.images[i % 9].click();
verify.focus();
- } else if (n !== 9 && (i = this.imageKeys16.indexOf(key)) >= 0 && (img = this.images[(Math.floor(i / 4)) * w + (i % 4)])) {
+ } else if (n !== 9 && (i = this.imageKeys16.indexOf(key)) >= 0 && i % 4 < w && (img = this.images[n - (4 - Math.floor(i / 4)) * w + (i % 4)])) {
img.click();
verify.focus();
} else if (dx = {
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 8d37eaae0..44342fa89 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index 6a028867c..802b263c5 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.xml b/builds/updates.xml
index c18510fe3..4e561b806 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index ce7fe0699..4c4a9837a 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.11.25.0",
- "date": "2016-02-11T09:16:54.091Z"
+ "version": "1.11.25.1",
+ "date": "2016-02-13T01:25:08.650Z"
}