aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2010-04-08 18:40:52 +0200
committerEgil Moeller <egil.moller@freecode.no>2010-04-08 18:40:52 +0200
commit698aa618998886d16bc4087d5d82a30f889ef560 (patch)
treebbe0c73d0bffc64adffecb34a9a745819c864539
parent4734aaece4c1ce3b27608e0de62b419ff7f2ca6e (diff)
downloadetherpad-698aa618998886d16bc4087d5d82a30f889ef560.tar.gz
etherpad-698aa618998886d16bc4087d5d82a30f889ef560.tar.xz
etherpad-698aa618998886d16bc4087d5d82a30f889ef560.zip
Revert "Fix typo in previous conversion from SUPERDOMAINS"
This reverts commit 7ff9c56cd6f45246ee85933f55e38cdb526970b8.
-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();