mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
Fix #626, Plugins don't work if pad is on a subdir
This commit is contained in:
parent
4a7ab12859
commit
a743112170
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ if (exports.isClient) {
|
||||||
// which appears to fix the issue.
|
// which appears to fix the issue.
|
||||||
var callback = function () {setTimeout(cb, 0);};
|
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.plugins = data.plugins;
|
||||||
exports.parts = data.parts;
|
exports.parts = data.parts;
|
||||||
exports.hooks = exports.extractHooks(exports.parts, "client_hooks");
|
exports.hooks = exports.extractHooks(exports.parts, "client_hooks");
|
||||||
|
|
Loading…
Reference in a new issue