summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/htmloutputter.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index 4a1b7db47..42bff4490 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -393,10 +393,7 @@ class HTMLOutputter extends XMLOutputter
$path = common_config('javascript', 'path');
if (empty($path)) {
- $path = common_config('site', 'path') . '/';
- if ($fallbackSubdir) {
- $path .= $fallbackSubdir . '/';
- }
+ $path = common_config('site', 'path') . '/js/';
}
$server = common_config('javascript', 'server');