diff --git a/assets/js/brand.js b/assets/js/brand.js index ec9d8ae..67783a9 100755 --- a/assets/js/brand.js +++ b/assets/js/brand.js @@ -108,7 +108,9 @@ $(function() { this.currentPage = page; }, godetil(item) { - window.location.href = 'newcar-details.html?id=' + item.id + sessionStorage.setItem('newcardetailId', item.id); + // window.location.href = 'newcar-details.html?id=' + item.id + window.location.href = 'newcar-details.html' } }, }) diff --git a/assets/js/index.js b/assets/js/index.js index 7fe535b..0dc0121 100755 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -65,7 +65,9 @@ $(function() { window.location.href = 'rental-sidebar.html?type=' + item.id }, godetil(item) { - window.location.href = 'vehicle-details.html?id=' + item.id + sessionStorage.setItem('vehicledetailId', item.id); + // window.location.href = 'vehicle-details.html?id=' + item.id + window.location.href = 'vehicle-details.html' }, getbrand(brand_id) { var that = this