Hello,
We have just checked out and it appears to be working fine for us. Can you please provide us with a Live URL so that we can check out the exact issue for this.
Consider using the following code to replace the entire loadItem: function( portPostId, prevPostPortId, getIt ) Function Block in the js/functions.js File:
loadItem: function( portPostId, prevPostPortId, getIt ){
if(!getIt) { getIt = false; }
var portNext = SEMICOLON.portfolio.getNextItem(portPostId);
var portPrev = SEMICOLON.portfolio.getPrevItem(portPostId);
if(getIt == false) {
SEMICOLON.portfolio.closeItem();
$portfolioAjaxLoader.fadeIn();
var portfolioDataLoader = $('#' + portPostId).attr('data-loader');
$portfolioDetailsContainer.load(portfolioDataLoader, { portid: portPostId, portnext: portNext, portprev: portPrev },
function(){
SEMICOLON.portfolio.initializeAjax(portPostId);
SEMICOLON.portfolio.openItem();
$portfolioItems.removeClass('portfolio-active');
$('#' + portPostId).addClass('portfolio-active');
if( '#' + portPostId != window.location.hash ) {
if( history.pushState ) {
history.pushState( null, null, '#' + portPostId );
} else {
window.location.hash = '#' + portPostId;
}
}
});
}
},
Then, use the following code at the bottom of the Portfolio AJAX Page just after the js/functions.js JS File Linking:
function loadPortfolioByHash(){
var portfolioHash = window.location.hash,
portfolioHashTarget = window.location.hash.substr(1);
if( portfolioHashTarget && $(portfolioHash).length > 0 ) {
SEMICOLON.portfolio.loadItem( portfolioHashTarget, '');
}
}
jQuery(window).load(function(){
loadPortfolioByHash();
});
window.addEventListener('hashchange', function (e) {
loadPortfolioByHash();
});
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.