supporter: Fix JS syntax to check donation upgrade amount.
This commit is contained in:
parent
501b4b05fc
commit
9822895971
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ $(document).ready(function() {
|
||||||
};
|
};
|
||||||
$window.bind("hashchange", selectSupportTypeFromHash);
|
$window.bind("hashchange", selectSupportTypeFromHash);
|
||||||
var $selectorLink = selectSupportTypeFromHash();
|
var $selectorLink = selectSupportTypeFromHash();
|
||||||
if (parseInt($("form#annual").upgradeFromAmount) > 0) {
|
if (parseFloat($("form#annual").get(0).dataset.upgradeFromAmount) > 0) {
|
||||||
supportTypeSelector("#annual").click();
|
supportTypeSelector("#annual").click();
|
||||||
$(".supporter-type-selector").hide();
|
$(".supporter-type-selector").hide();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue