diff --git a/app.js b/app.js index ce1fe25..e214d5f 100644 --- a/app.js +++ b/app.js @@ -345,7 +345,7 @@ let kara = new Vue({ vue.botMessage('In ' + response.data.name + ' it\'s ' + response.data.main.temp.toFixed() + '°C with ' + response.data.weather[0].description + '.'); }) .catch(function (error) { - alert(error); + alertify.notify(error, 'danger'); vue.botMessage('I couldn\'t check the weather for your location. 🤔'); }) diff --git a/index.html b/index.html index 2b582c9..5857a17 100644 --- a/index.html +++ b/index.html @@ -8,6 +8,9 @@ + + + @@ -167,6 +170,7 @@ +