diff options
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/view/js/main.js b/view/js/main.js index 21157bdfe..f415637bd 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -847,7 +847,7 @@ function pageUpdate() { function justifyPhotos(id) { justifiedGalleryActive = true; $('#' + id).justifiedGallery({ - selector: '> a, > div:not(.spinner, #page-end)', + selector: 'a, div:not(.spinner, #page-end)', margins: 3, border: 0, sizeRangeSuffixes: { @@ -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() { |