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:19:25 +0800
commit7ff9c56cd6f45246ee85933f55e38cdb526970b8 (patch)
treee6ec9406df1cecdd8256f494dd3c486ed7a5700f
parent5ff65ce80e04028fc9ff299534f92e2836c3636a (diff)
downloadetherpad-7ff9c56cd6f45246ee85933f55e38cdb526970b8.tar.gz
etherpad-7ff9c56cd6f45246ee85933f55e38cdb526970b8.tar.xz
etherpad-7ff9c56cd6f45246ee85933f55e38cdb526970b8.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();