fixed derp
This commit is contained in:
parent
8a9564d417
commit
3f667b0d91
3
main.js
3
main.js
@ -156,7 +156,6 @@ $('#go').click(function(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// convert result to binary
|
// convert result to binary
|
||||||
|
|
||||||
output = textToBin(input);
|
output = textToBin(input);
|
||||||
$('#output').val(replaceAll(replaceAll(output.toString(), "1", one), "0", zero));
|
$('#output').val(replaceAll(replaceAll(output.toString(), "1", one), "0", zero));
|
||||||
}
|
}
|
||||||
@ -174,7 +173,7 @@ $('#go').click(function(){
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$('#output').val(atob(output.toString()));
|
$('#output').val(output.toString());
|
||||||
}
|
}
|
||||||
$('#outputModal').modal();
|
$('#outputModal').modal();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user