]> git.mxchange.org Git - friendica.git/blobdiff - js/main.js
theme description with preview (non-translatable unfortunately)
[friendica.git] / js / main.js
index 0b5fb5cdc0edc786fc5bd4898ce9bb7a7d20722a..defd1f951ae6ec194437122d2a92eb9d9360f8c2 100755 (executable)
@@ -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