]> git.mxchange.org Git - friendica.git/blobdiff - js/main.js
changes to support a mobile theme
[friendica.git] / js / main.js
index a5ce894601e312e8a422adc1e31fb716c093636d..c7db9a06915e9aaa7b1061e8408d3daaf366ec99 100644 (file)
@@ -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>');
        });
 
 }