aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-03-05 17:12:27 +0100
committerMario Vavti <mario@mariovavti.com>2015-03-05 17:12:27 +0100
commit44b74365ddc828fe9ae83da4870f71dd1daca557 (patch)
tree15cc211476098f62560009fa51d8ca4c7907e798 /view/js
parentc62e4bcdcadda47565f1ed3c25a4084a56629db0 (diff)
downloadvolse-hubzilla-44b74365ddc828fe9ae83da4870f71dd1daca557.tar.gz
volse-hubzilla-44b74365ddc828fe9ae83da4870f71dd1daca557.tar.bz2
volse-hubzilla-44b74365ddc828fe9ae83da4870f71dd1daca557.zip
restructure display settings
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 3a98972f9..eb8c78ef4 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1141,7 +1141,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><div id="theme-version">' + data.version + '</div><div id="theme-credits">' + data.credits + '</div><a href="' + data.img + '"><img src="' + data.img + '" style="max-width:100%;" 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 + '" style="max-width:100%; max-height:300px" alt="' + theme + '" /></a>');
});
}