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
Anders G 2017-05-09 18:22:18 +02:00
parent 3ee1e51fc3
commit 3d6c677adb
1 changed files with 1 additions and 1 deletions

View File

@ -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();