Changes between Version 59 and Version 60 of Catalogue
- Timestamp:
- Jun 27, 2012 12:48:44 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Catalogue
v59 v60 30 30 totalAmount += getPrice(el) * el.value; 31 31 } 32 } 33 var totalsEl = document.getElementById('totalAmount'); 34 if( totalsEl ) { 35 totalsEl.firstChild.nodeValue = 'Итого: ' + totalAmount.toDigits(2).toString(); 32 36 } 33 37 } … … 215 219 <tr> 216 220 <td colspan="3" align="right"> 217 < div id="totalAmount">Итого: 0</div>221 <span id="totalAmount">Итого: 0</span> 218 222 <button style="padding: 10px 20px 10px 20px; margin: 10px; align: right;">Оформить заказ →</button> 219 223 </td>