aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Mitchell <etherpad@jefferai.org>2010-04-08 21:25:39 +0800
committerEgil Möller <egil.moller@freecode.no>2010-04-08 22:18:56 +0800
commit746609a16cd1c1b8bb725f89fef1869af0875d5e (patch)
treee6ec9406df1cecdd8256f494dd3c486ed7a5700f
parent5ff65ce80e04028fc9ff299534f92e2836c3636a (diff)
downloadetherpad-746609a16cd1c1b8bb725f89fef1869af0875d5e.tar.gz
etherpad-746609a16cd1c1b8bb725f89fef1869af0875d5e.tar.xz
etherpad-746609a16cd1c1b8bb725f89fef1869af0875d5e.zip
Fix typo in previous conversion from SUPERDOMAINS
-rw-r--r--etherpad/src/etherpad/pro/pro_utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/etherpad/src/etherpad/pro/pro_utils.js b/etherpad/src/etherpad/pro/pro_utils.js
index 2322262..1198b95 100644
--- a/etherpad/src/etherpad/pro/pro_utils.js
+++ b/etherpad/src/etherpad/pro/pro_utils.js
@@ -49,7 +49,7 @@ function getRequestSuperdomain() {
var parts = request.domain.split('.');
while (parts.length > 0) {
var domain = parts.join('.');
- if (domainEnabled[domain]) {
+ if (domainEnabled(domain)) {
return domain;
}
parts.shift();