mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
fixing theme previews in subfolder installs
This commit is contained in:
@@ -92,7 +92,7 @@ define(['forum/admin/settings'], function(Settings) {
|
||||
liEl = $('<li/ >').attr({
|
||||
'data-type': 'local',
|
||||
'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 class="pull-right">' +
|
||||
'<button class="btn btn-primary" data-action="use">Use</button> ' +
|
||||
|
||||
Reference in New Issue
Block a user