|
Lines 374-383
function showLess() {
Link Here
|
| 374 |
function updateBasket(updated_value,target) { |
374 |
function updateBasket(updated_value,target) { |
| 375 |
if(target){ |
375 |
if(target){ |
| 376 |
target.$('#basketcount').html("<span>"+updated_value+"</span>"); |
376 |
target.$('#basketcount').html("<span>"+updated_value+"</span>"); |
| 377 |
target.$('#cartDetails').html(_("Your cart contains ")+updated_value+_(" items")); |
377 |
target.$('#cartDetails').html(_("Your "+BASKET_NAME+" contains ")+updated_value+_(" items")); |
| 378 |
} else { |
378 |
} else { |
| 379 |
$('#basketcount').html("<span>"+updated_value+"</span>"); |
379 |
$('#basketcount').html("<span>"+updated_value+"</span>"); |
| 380 |
$('#cartDetails').html(_("Your cart contains ")+updated_value+_(" items")); |
380 |
$('#cartDetails').html(_("Your "+BASKET_NAME+" contains ")+updated_value+_(" items")); |
| 381 |
} |
381 |
} |
| 382 |
var basketcount = updated_value; |
382 |
var basketcount = updated_value; |
| 383 |
} |
383 |
} |
| 384 |
- |
|
|