We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4e9005 commit eda6a3dCopy full SHA for eda6a3d
app/static/horoscope.js
@@ -1,8 +1,8 @@
1
async function daily_horoscope(singName) {
2
sign = singName.toLowerCase();
3
- var x = 'https://aztro.sameerkumar.website/?sign=' + sign + '&day=today'
+ const signData = 'https://aztro.sameerkumar.website/?sign=' + sign + '&day=today'
4
const xhr = new XMLHttpRequest();
5
- xhr.open("POST", x, true);
+ xhr.open("POST", signData, true);
6
xhr.onload = function() {
7
let obj = JSON.parse(this.responseText);
8
let daily = document.getElementById('daily_horoscope');
0 commit comments