summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2010-04-08 18:42:29 +0200
committerEgil Moeller <egil.moller@freecode.no>2010-04-08 18:42:29 +0200
commit60c183f10a1951b19ca6ac12c3259f4415916c7c (patch)
treebbe0c73d0bffc64adffecb34a9a745819c864539
parent913d82d8712287afd80da42d89e94fcdc2a37d85 (diff)
downloadetherpad-60c183f10a1951b19ca6ac12c3259f4415916c7c.tar.gz
etherpad-60c183f10a1951b19ca6ac12c3259f4415916c7c.tar.bz2
etherpad-60c183f10a1951b19ca6ac12c3259f4415916c7c.zip
Revert "Fix typo in previous conversion from SUPERDOMAINS"
This reverts commit 746609a16cd1c1b8bb725f89fef1869af0875d5e.
-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 1198b95..2322262 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();