diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-07 16:15:52 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-07 16:15:52 -0800 |
commit | 241607e7d73d9bdbbae253b73de91c3847c6df76 (patch) | |
tree | cc62b12c3d8599d0c63d9c4ed05e8284f18b5815 /view/js/main.js | |
parent | bd7d851758e9fdedade6458049a8fbc799da6eba (diff) | |
parent | 96d94551f92aeca5efdee6286e7950229c46f201 (diff) | |
download | volse-hubzilla-241607e7d73d9bdbbae253b73de91c3847c6df76.tar.gz volse-hubzilla-241607e7d73d9bdbbae253b73de91c3847c6df76.tar.bz2 volse-hubzilla-241607e7d73d9bdbbae253b73de91c3847c6df76.zip |
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js index ca7d50b90..d670b704a 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -758,9 +758,9 @@ function pageUpdate() { }); } -function justifyPhotos() { +function justifyPhotos(id) { justifiedGalleryActive = true; - $('#photo-album-contents').justifiedGallery({ + $('#' + id).justifiedGallery({ selector: '> a, > div:not(.spinner, #page-end)', margins: 3, border: 0, @@ -775,9 +775,9 @@ function justifyPhotos() { }).on('jg.complete', function(e){ justifiedGalleryActive = false; }); } -function justifyPhotosAjax() { +function justifyPhotosAjax(id) { justifiedGalleryActive = true; - $('#photo-album-contents').justifiedGallery('norewind').on('jg.complete', function(e){ justifiedGalleryActive = false; }); + $('#' + id).justifiedGallery('norewind').on('jg.complete', function(e){ justifiedGalleryActive = false; }); } function notify_popup_loader(notifyType) { |