From 9c4e9f8759f3edfda96cb522f45df86cde5b3e63 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 1 Jul 2015 11:34:36 +0200 Subject: update justifiedGallery to versio 3.6.0 --- view/js/main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index 698e2d79c..5fe778488 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -741,6 +741,7 @@ function pageUpdate() { function justifyPhotos() { justifiedGalleryActive = true; $('#photo-album-contents').justifiedGallery({ + selector: '> a, > div:not(.spinner, #page-end)', margins: 3, border: 0, sizeRangeSuffixes: { -- cgit v1.2.3 From f54688a547f2c6191f3916288de0013bc6c8bffe Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 1 Jul 2015 11:42:17 +0200 Subject: since we can now use plain upstream justifiedGallery library - switch to minified version --- view/php/theme_init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view') diff --git a/view/php/theme_init.php b/view/php/theme_init.php index c1aeb4ab7..49b3511c9 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -9,11 +9,11 @@ head_add_css('library/jRange/jquery.range.css'); head_add_css('view/css/conversation.css'); head_add_css('view/css/widgets.css'); head_add_css('view/css/colorbox.css'); -head_add_css('library/justifiedGallery/justifiedGallery.css'); +head_add_css('library/justifiedGallery/justifiedGallery.min.css'); head_add_js('jquery.js'); //head_add_js('jquery-migrate-1.1.1.js'); -head_add_js('library/justifiedGallery/jquery.justifiedGallery.js'); +head_add_js('library/justifiedGallery/jquery.justifiedGallery.min.js'); head_add_js('library/sprintf.js/dist/sprintf.min.js'); //head_add_js('jquery-compat.js'); -- cgit v1.2.3