summaryrefslogtreecommitdiff
path: root/src/static
diff options
context:
space:
mode:
author0ip <me@factor.cc>2012-04-19 19:44:44 +0300
committer0ip <me@factor.cc>2012-04-19 19:44:44 +0300
commita743112170615a14f4e4e27822a54dc3ec491a6b (patch)
tree82c2e0e332ba59efcff73785fa6cba2054682dcf /src/static
parent4a7ab12859e9895921e3d2c331f4f69e6025d094 (diff)
downloadetherpad-lite-a743112170615a14f4e4e27822a54dc3ec491a6b.zip
Fix #626, Plugins don't work if pad is on a subdir
Diffstat (limited to 'src/static')
-rw-r--r--src/static/js/pluginfw/plugins.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pluginfw/plugins.js b/src/static/js/pluginfw/plugins.js
index e6cb5190..b66af58a 100644
--- a/src/static/js/pluginfw/plugins.js
+++ b/src/static/js/pluginfw/plugins.js
@@ -90,7 +90,7 @@ if (exports.isClient) {
// which appears to fix the issue.
var callback = function () {setTimeout(cb, 0);};
- jQuery.getJSON('/pluginfw/plugin-definitions.json', function(data) {
+ jQuery.getJSON('../pluginfw/plugin-definitions.json', function(data) {
exports.plugins = data.plugins;
exports.parts = data.parts;
exports.hooks = exports.extractHooks(exports.parts, "client_hooks");