fixing theme previews in subfolder installs

v1.18.x
Julian Lam 11 years ago
parent bf8f91f0d9
commit 392075eb27

@ -92,7 +92,7 @@ define(['forum/admin/settings'], function(Settings) {
liEl = $('<li/ >').attr({ liEl = $('<li/ >').attr({
'data-type': 'local', 'data-type': 'local',
'data-theme': themes[x].id 'data-theme': themes[x].id
}).html('<img src="' + (themes[x].screenshot ? '/css/previews/' + themes[x].id : RELATIVE_PATH + '/images/themes/default.png') + '" />' + }).html('<img src="' + (themes[x].screenshot ? RELATIVE_PATH + '/css/previews/' + themes[x].id : RELATIVE_PATH + '/images/themes/default.png') + '" />' +
'<div>' + '<div>' +
'<div class="pull-right">' + '<div class="pull-right">' +
'<button class="btn btn-primary" data-action="use">Use</button> ' + '<button class="btn btn-primary" data-action="use">Use</button> ' +

Loading…
Cancel
Save