Committed bad help JS. [skip ci]

This commit is contained in:
James Cole 2018-01-17 14:26:31 +01:00
parent 529bdafa31
commit e7829ecc38
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -36,7 +36,7 @@ function showHelp(e) {
$('#helpBody').html('<i class="fa fa-refresh fa-spin"></i>');
$('#helpModal').modal('show');
$('#helpTitle').html(helpPageTitle);
$.getJSON('helpx/' + encodeURI(route)).done(function (data) {
$.getJSON('help/' + encodeURI(route)).done(function (data) {
$('#helpBody').html(data.html);
}).fail(function () {
$('#helpBody').html('<p class="text-danger">' + noHelpForPage + '</p>');