mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +00:00
changes to support a mobile theme
This commit is contained in:
parent
ea2c3748f0
commit
5cb979f5e4
12 changed files with 260 additions and 40 deletions
|
@ -641,7 +641,7 @@ Array.prototype.remove = function(item) {
|
|||
function previewTheme(elm) {
|
||||
theme = $(elm).val();
|
||||
$.getJSON('pretheme?f=&theme=' + theme,function(data) {
|
||||
$('#theme-preview').html('<div id="theme-desc">' + data.desc + '</div><a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
|
||||
$('#theme-preview').html('<div id="theme-desc">' + data.desc + '</div><div id="theme-version">' + data.version + '</div><div id="theme-credits">' + data.credits + '</div><a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue