|
|
@ -545,7 +545,7 @@ $(document).ready(function () {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Default behaviour for uploads and direct links to API urls
|
|
|
|
// Default behaviour for uploads and direct links to API urls
|
|
|
|
if (internalLink && ['/uploads', '/assets/uploads/', '/api/'].some(function (prefix) {
|
|
|
|
if (internalLink && ['/uploads', '/assets/', '/api/'].some(function (prefix) {
|
|
|
|
return String(_self.pathname).startsWith(config.relative_path + prefix);
|
|
|
|
return String(_self.pathname).startsWith(config.relative_path + prefix);
|
|
|
|
})) {
|
|
|
|
})) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|