aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-26 18:15:10 -0700
committerfriendica <info@friendica.com>2012-03-26 18:15:10 -0700
commit4c585f759f5c2662b2d761adccdf2c6dafd31249 (patch)
tree4490f26405409cf6101ef56d89a90aa06446ea96 /js
parentb5d0315d55b6488d9493dd49bd35a2fe1b1492c7 (diff)
downloadvolse-hubzilla-4c585f759f5c2662b2d761adccdf2c6dafd31249.tar.gz
volse-hubzilla-4c585f759f5c2662b2d761adccdf2c6dafd31249.tar.bz2
volse-hubzilla-4c585f759f5c2662b2d761adccdf2c6dafd31249.zip
theme description with preview (non-translatable unfortunately)
Diffstat (limited to 'js')
-rwxr-xr-xjs/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index 0b5fb5cdc..defd1f951 100755
--- a/js/main.js
+++ b/js/main.js
@@ -591,7 +591,7 @@ Array.prototype.remove = function(item) {
function previewTheme(elm) {
theme = $(elm).val();
$.getJSON('pretheme?f=&theme=' + theme,function(data) {
- $('#theme-preview').html('<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><a href="' + data.img + '"><img src="' + data.img + '" width="320" height="240" alt="' + theme + '" /></a>');
});
} \ No newline at end of file