Make absolute path in osd tab (implicitly absolute) relative, to make base-tag work.
This change is needed in repos that use this repo as a submodule, and thereby have other base urls. All instances of $.load() already have relative paths.10.3.x-maintenance
parent
3ee1e51fc3
commit
3d6c677adb
|
@ -979,7 +979,7 @@ TABS.osd.initialize = function (callback) {
|
||||||
if (!$(this).data('font-file')) { return; }
|
if (!$(this).data('font-file')) { return; }
|
||||||
$fontPicker.removeClass('active');
|
$fontPicker.removeClass('active');
|
||||||
$(this).addClass('active');
|
$(this).addClass('active');
|
||||||
$.get('/resources/osd/' + $(this).data('font-file') + '.mcm', function(data) {
|
$.get('./resources/osd/' + $(this).data('font-file') + '.mcm', function(data) {
|
||||||
FONT.parseMCMFontFile(data);
|
FONT.parseMCMFontFile(data);
|
||||||
FONT.preview($preview);
|
FONT.preview($preview);
|
||||||
updateOsdView();
|
updateOsdView();
|
||||||
|
|
Loading…
Reference in New Issue