diff --git a/index.html b/index.html
index 3efeb1e..53f2164 100644
--- a/index.html
+++ b/index.html
@@ -11,6 +11,7 @@
background: rgba(0, 0, 0, 0.95);
font-family: 'Inconsolata', monospace;
color: #fff;
+ margin-top: 5px;
}
ul {
margin: 0;
@@ -37,13 +38,14 @@
#close-btn,
#min-btn {
- border: none;
- font-size: 0;
- height: 16px;
- width: 16px;
- border-radius: 100%;
+ height: 12px;
+ width: 12px;
background: none;
border: 2px solid #000;
+ -moz-border-radius: 50px;
+ -webkit-border-radius: 50px;
+ border-radius: 50px;
+ padding: 0;
}
#close-btn {
border-color: #ff2626;
@@ -347,8 +349,8 @@
-
-
+
+
@@ -372,13 +374,29 @@
Choose Your Base Currency
-
Tip Jar
@@ -633,9 +651,23 @@
span = document.querySelector("#coin-"+[key]+" span");
span.setAttribute("class", "draggable");
+ let coinSymbol = coinRAW[base].FROMSYMBOL;
+ let coinRate = coinDISPLAY[base].PRICE.replace(/ /g,''); //.replace(/ /g,'') removes space after $
+
+ //replace currencies that have no symbols with easier to read formats
+ if(coinRate.includes("AUD")) { coinRate = coinRate.replace("AUD", "A$"); }
+ if(coinRate.includes("CAD")) { coinRate = coinRate.replace("CAD", "C$"); }
+ if(coinRate.includes("HKD")) { coinRate = coinRate.replace("HKD", "HK$"); }
+ if(coinRate.includes("MXN")) { coinRate = coinRate.replace("MXN", "$"); }
+ if(coinRate.includes("NOK")) { coinRate = coinRate.replace("NOK", "kr"); }
+ if(coinRate.includes("NZD")) { coinRate = coinRate.replace("NZD", "NZ$"); }
+ if(coinRate.includes("SEK")) { coinRate = coinRate.replace("SEK", "kr"); }
+ if(coinRate.includes("SGD")) { coinRate = coinRate.replace("SGD", "S$"); }
+ if(coinRate.includes("TRY")) { coinRate = coinRate.replace("TRY", "₺"); }
+ if(coinRate.includes("ZAR")) { coinRate = coinRate.replace("ZAR", "R"); }
//console.log(span);
- span.innerHTML = '' + coinRAW[base].FROMSYMBOL + ' ' + coinDISPLAY[base].PRICE.replace(/ /g,'') + '' + coinDISPLAYchange + '%'; //.replace(/ /g,'') removes space after $
+ span.innerHTML = '' + coinSymbol + ' ' + coinRate + '' + coinDISPLAYchange + '%';
// % Change
let change = document.querySelector("#coin-"+[key]+" .change");
diff --git a/release-builds/Crypto Price Widget-mac.zip b/release-builds/Crypto Price Widget-mac.zip
deleted file mode 100644
index cf2c2b3..0000000
Binary files a/release-builds/Crypto Price Widget-mac.zip and /dev/null differ