Commit 3e82ee5d authored by effulgentsia's avatar effulgentsia

Issue #2554219 follow-up: Fix usage of obsolete drupalSettings.basePath

parent 5bb2889d
......@@ -454,7 +454,7 @@ if (window.jQuery) {
if (protocol === 'http:' && absoluteUrl.indexOf('https:') === 0) {
protocol = 'https:';
}
var baseUrl = protocol + '//' + location.host + drupalSettings.basePath.slice(0, -1);
var baseUrl = protocol + '//' + location.host + drupalSettings.path.baseUrl.slice(0, -1);
// Decoding non-UTF-8 strings may throw an exception.
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment