We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb9a09e commit 2d1ac91Copy full SHA for 2d1ac91
src/essence/Ancillary/Help.js
@@ -14,9 +14,9 @@ const Help = {
14
finalize: function (helpKey) {
15
$(`#helpModal_${helpKey}`).on('click', function () {
16
$.get(
17
- `${
18
- window.mmgisglobal.ROOT_PATH || ''
19
- }/public/helps/${helpKey}.md`,
+ `${window.location.origin}${(
+ window.location.pathname || ''
+ ).replace(/\/$/g, '')}/public/helps/${helpKey}.md`,
20
function (doc) {
21
// prettier-ignore
22
Modal.set(
0 commit comments