Skip to content

Commit

Permalink
fix: portfolio plugin js
Browse files Browse the repository at this point in the history
  • Loading branch information
shin committed Oct 13, 2016
1 parent 95c11a3 commit f1b0d20
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions public/assets/js/cherry-portfolio-layout-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
loadingMode = portfolioContainer.data('loading-mode'),
fixedHeight = portfolioContainer.data('fixed-height'),
listLayout = portfolioContainer.data('list-layout'),
template = portfolioContainer.data('template'),
postsFormat = portfolioContainer.data('posts-format'),
template = portfolioContainer.data('template') || '',
postsFormat = portfolioContainer.data('posts-format') || 'post-format-all',
isotopeOptions = {
itemSelector : '.portfolio-item',
resizable: false,
masonry: { columnWidth: Math.floor( $('.portfolio-list', portfolioContainer).width() / column ) }
},
currentSlug = portfolioContainer.data('single-term'),
currentSlug = portfolioContainer.data('single-term') || 'all',
currentPaginationPage = 1,
allPageLenght = 0,
allPageLenght_temp = 0,
Expand Down Expand Up @@ -164,6 +164,7 @@

// ajax filter
function ajaxGetNewContent( slug, page, order ){
console.log(order);
var data = {
action: 'get_new_items',
value_slug: slug,
Expand Down

0 comments on commit f1b0d20

Please sign in to comment.