aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-01 17:09:58 -0700
committerredmatrix <mike@macgirvin.com>2016-09-01 17:09:58 -0700
commit720f1d71233ab9f6be3ea4ae4b09d823fdca7367 (patch)
tree823b748c920292b14e40b6a22fbcc4d28d54674b /view/js/main.js
parent678148b9aa98ffb0b174aceb2e30f79ea116a566 (diff)
downloadvolse-hubzilla-720f1d71233ab9f6be3ea4ae4b09d823fdca7367.tar.gz
volse-hubzilla-720f1d71233ab9f6be3ea4ae4b09d823fdca7367.tar.bz2
volse-hubzilla-720f1d71233ab9f6be3ea4ae4b09d823fdca7367.zip
actively set all the theme options on the display settings page based on the current theme selection
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 21157bdfe..627110c49 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1247,12 +1247,6 @@ Array.prototype.remove = function(item) {
return this.push.apply(this, rest);
};
-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%; max-height:300px" alt="' + theme + '"></a>');
- });
-}
$(document).ready(function() {