|
@@ -44,7 +44,8 @@ $(".crumbs").on("click", ".crumb", function() {
|
|
|
*/
|
|
|
function initPageClick() {
|
|
|
$('.list').on('click', 'li', function(ele) {
|
|
|
- initPageContent($(this).attr('data-id'));
|
|
|
+ sessionStorage.setItem('jgjj-id', $(this).attr('data-id'));
|
|
|
+ initPageContent();
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -125,7 +126,7 @@ function initPageContent(id) {
|
|
|
$('.text_title').empty().append(data.title);
|
|
|
$('.content_t').empty().append(data.content);
|
|
|
}
|
|
|
- sessionStorage.removeItem('jgjj-id');
|
|
|
+ // sessionStorage.removeItem('jgjj-id');
|
|
|
}
|
|
|
})
|
|
|
}
|