diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-04-28 22:06:09 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-04-28 22:06:09 +0200 |
commit | d6152d809affb557fa0cec346eee3bc6e09922f4 (patch) | |
tree | 951c937ad904ba15d1212125c9c96d615773395f | |
parent | 31b5b06e42415ffaf98ca09ca8641ae64e67280f (diff) | |
download | volse-hubzilla-d6152d809affb557fa0cec346eee3bc6e09922f4.tar.gz volse-hubzilla-d6152d809affb557fa0cec346eee3bc6e09922f4.tar.bz2 volse-hubzilla-d6152d809affb557fa0cec346eee3bc6e09922f4.zip |
revert some changes in justified gallery
-rw-r--r-- | library/justifiedGallery/jquery.justifiedGallery.js | 7 | ||||
-rw-r--r-- | view/js/main.js | 1 |
2 files changed, 2 insertions, 6 deletions
diff --git a/library/justifiedGallery/jquery.justifiedGallery.js b/library/justifiedGallery/jquery.justifiedGallery.js index 21679c96d..213a7f286 100644 --- a/library/justifiedGallery/jquery.justifiedGallery.js +++ b/library/justifiedGallery/jquery.justifiedGallery.js @@ -45,8 +45,7 @@ target : null, // rewrite the target of all links extension : /\.[^.\\/]+$/, refreshTime : 100, - randomize : false, - ignoreElement: null // a comma seperated list of div element selectors to be ignored e.g.: '.someClass, #someId' + randomize : false }; function getSuffix(width, height, context) { @@ -572,8 +571,6 @@ var border = extendedSettings.border >= 0 ? extendedSettings.border : extendedSettings.margins; - var ignoreElement = extendedSettings.ignoreElement; - //Context init context = { settings : extendedSettings, @@ -622,7 +619,7 @@ checkSettings(context); - context.entries = $gallery.find('> a, > div:not(.spinner, ' + ignoreElement + ')').toArray(); + context.entries = $gallery.find('> a, > div:not(.spinner, #page-end)').toArray(); if (context.entries.length === 0) return; // Randomize diff --git a/view/js/main.js b/view/js/main.js index d1e61dc24..35944e13f 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -743,7 +743,6 @@ function justifyPhotos() { $('#photo-album-contents').justifiedGallery({ margins: 3, border: 0, - ignoreElement: '#page-end', sizeRangeSuffixes: { 'lt100': '-2', 'lt240': '-2', |