From 7ff9c56cd6f45246ee85933f55e38cdb526970b8 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 8 Apr 2010 21:25:39 +0800 Subject: Fix typo in previous conversion from SUPERDOMAINS --- etherpad/src/etherpad/pro/pro_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3