summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Mitchell <etherpad@jefferai.org>2010-04-08 09:25:39 -0400
committerJeff Mitchell <etherpad@jefferai.org>2010-04-08 09:25:55 -0400
commit2379c600538c2a83046571acedc3fc8dedcd8a6e (patch)
tree6495a7233f26a8eac0ee3dfbb90829d257b659bf
parentef71f285a7263c4df76057baf528e943c8870efb (diff)
downloadetherpad-2379c600538c2a83046571acedc3fc8dedcd8a6e.tar.gz
etherpad-2379c600538c2a83046571acedc3fc8dedcd8a6e.tar.bz2
etherpad-2379c600538c2a83046571acedc3fc8dedcd8a6e.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();