Widget:PriceCalculator: Difference between revisions
Jump to navigation
Jump to search
(Add calculation) |
(Remove vestiges of jquery) |
||
Line 23: | Line 23: | ||
<div id="bg3wiki-price-calculator-result"></div> | <div id="bg3wiki-price-calculator-result"></div> | ||
<script> | <script> | ||
document.querySelector("#bg3wiki-price-calculator-form #submit").addEventListener("click", do_calculation); | |||
function sanitize(input) { | function sanitize(input) { |