summaryrefslogtreecommitdiffstats
path: root/assets/js/community.js
diff options
context:
space:
mode:
authorPerflyst <mail@perflyst.de>2020-11-12 17:06:38 +0100
committerGitHub <noreply@github.com>2020-11-12 17:06:38 +0100
commitbb7d8735cbad7916b354412f965d48d886d2365e (patch)
tree4def28c6e8de906565d73b0c337d47b6a416e35a /assets/js/community.js
parent1fc9506442ae18c7c7f0a684a59714e679678a54 (diff)
parent557b0d76abe978cd8044a48f89313ef805954713 (diff)
downloadinvidious-bb7d8735cbad7916b354412f965d48d886d2365e.tar.gz
invidious-bb7d8735cbad7916b354412f965d48d886d2365e.tar.bz2
invidious-bb7d8735cbad7916b354412f965d48d886d2365e.zip
Merge branch 'master' into patch-1
Diffstat (limited to 'assets/js/community.js')
-rw-r--r--assets/js/community.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/js/community.js b/assets/js/community.js
index 754ec6d3..4077f1cd 100644
--- a/assets/js/community.js
+++ b/assets/js/community.js
@@ -1,3 +1,5 @@
+var community_data = JSON.parse(document.getElementById('community_data').innerHTML);
+
String.prototype.supplant = function (o) {
return this.replace(/{([^{}]*)}/g, function (a, b) {
var r = o[b];