mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added ethereum donate option
This commit is contained in:
BIN
server/public/assets/images/ethdonate.png
Normal file
BIN
server/public/assets/images/ethdonate.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.8 KiB |
@@ -1041,6 +1041,17 @@ $(document).on("click", "#bitcoin-address", function(e) {
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("click", "#ethereum-address", function(e) {
|
||||
var copyTextarea = document.querySelector('#ethereum-address');
|
||||
copyTextarea.select();
|
||||
var successful = document.execCommand('copy');
|
||||
if(successful) {
|
||||
Materialize.toast("Copied!", 2000, "green lighten");
|
||||
} else {
|
||||
Materialize.toast("Error copying..", 2000, "red lighten");
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("click", ".pagination-results a", function(e) {
|
||||
e.preventDefault();
|
||||
var that = $(this);
|
||||
|
||||
Reference in New Issue
Block a user