diff --git a/CHANGELOG.md b/CHANGELOG.md
index 05957bd7a..93d14afcc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@
### v1.14.21
+**v1.14.21.2** *(2021-05-07)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.21.2/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.21.2/builds/4chan-X-noupdate.crx)]
+- Fix bug introduced in v1.14.21.1 causing error message when menu opened.
+
**v1.14.21.1** *(2021-05-06)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.21.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.21.1/builds/4chan-X-noupdate.crx)]
- Fix some posts not being processed on 4chan /g/ and /sci/.
- Update for flag changes on 4chan /mlp/ and /pol/.
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index f0ebc0bc0..a6b039fa3 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 6a7ed6efe..0a8df5ff6 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.14.21.1
+// @version 1.14.21.2
// @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 3feef36a4..0c944a551 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.14.21.1
+// @version 1.14.21.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -218,7 +218,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.21.1',
+ VERSION: '1.14.21.2',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -17582,9 +17582,9 @@ ArchiveLink = (function() {
});
return true;
} : function(post) {
- var typeParam, value;
+ var ref, typeParam, value;
typeParam = type === 'country' && post.info.flagCodeTroll ? 'troll_country' : type;
- value = type === 'country' ? post.info.flagCode || post.info.flagCodeTroll.toLowerCase() : Filter.values(type, post)[0];
+ value = type === 'country' ? post.info.flagCode || ((ref = post.info.flagCodeTroll) != null ? ref.toLowerCase() : void 0) : Filter.values(type, post)[0];
if (!value) {
return false;
}
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 48b82f49d..419a7cbbc 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 6f47e9075..ef29714c4 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.21.1
+// @version 1.14.21.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -218,7 +218,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.21.1',
+ VERSION: '1.14.21.2',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -17582,9 +17582,9 @@ ArchiveLink = (function() {
});
return true;
} : function(post) {
- var typeParam, value;
+ var ref, typeParam, value;
typeParam = type === 'country' && post.info.flagCodeTroll ? 'troll_country' : type;
- value = type === 'country' ? post.info.flagCode || post.info.flagCodeTroll.toLowerCase() : Filter.values(type, post)[0];
+ value = type === 'country' ? post.info.flagCode || ((ref = post.info.flagCodeTroll) != null ? ref.toLowerCase() : void 0) : Filter.values(type, post)[0];
if (!value) {
return false;
}
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 4715fe12e..9132ec6fc 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 9d9274da6..6dc44123e 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.21.1
+// @version 1.14.21.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index 84e244952..81cc964f4 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.21.1
+// @version 1.14.21.2
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -218,7 +218,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.21.1',
+ VERSION: '1.14.21.2',
NAMESPACE: '4chan X.',
sites: Object.create(null),
boards: Object.create(null)
@@ -17582,9 +17582,9 @@ ArchiveLink = (function() {
});
return true;
} : function(post) {
- var typeParam, value;
+ var ref, typeParam, value;
typeParam = type === 'country' && post.info.flagCodeTroll ? 'troll_country' : type;
- value = type === 'country' ? post.info.flagCode || post.info.flagCodeTroll.toLowerCase() : Filter.values(type, post)[0];
+ value = type === 'country' ? post.info.flagCode || ((ref = post.info.flagCodeTroll) != null ? ref.toLowerCase() : void 0) : Filter.values(type, post)[0];
if (!value) {
return false;
}
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 3b32a8f39..41ed9daee 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.json b/builds/updates-beta.json
index f5c0c0aef..00a65652e 100644
--- a/builds/updates-beta.json
+++ b/builds/updates-beta.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.21.1",
+ "version": "1.14.21.2",
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
}
]
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index 85585ecdd..9e3f55b2e 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.json b/builds/updates.json
index 3d55c8be8..8cd9b414e 100644
--- a/builds/updates.json
+++ b/builds/updates.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.21.1",
+ "version": "1.14.21.2",
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
}
]
diff --git a/builds/updates.xml b/builds/updates.xml
index ffd82b71f..a58f07ad5 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index ca0d0bbed..58052db3d 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.14.21.1",
- "date": "2021-05-06T21:38:30.754Z"
+ "version": "1.14.21.2",
+ "date": "2021-05-07T02:43:56.365Z"
}
\ No newline at end of file