Unverified Commit d30facb1 authored by bitsoko's avatar bitsoko Committed by GitHub

Update rewards.js

parent bc71c1e7
......@@ -164,6 +164,7 @@ for(var i in paySwits){
paySwits[i].onchange=function(){
var pCls=this.getAttribute("class").replace(' switch','');
console.log(this,this.target,pCls);
switch (pCls) {
case 'doPayEth-switch':
if(document.querySelector('.'+pCls.replace('-switch','')).checked){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment