From 96ce65186891612289e5d490afceb661533a283d Mon Sep 17 00:00:00 2001 From: Gavin Mogan Date: Mon, 12 Feb 2018 14:07:31 -0800 Subject: [PATCH 1/2] Added the word 'get' to error message to make it make sense --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index ce623399..47138699 100644 --- a/index.html +++ b/index.html @@ -434,7 +434,7 @@

More examples

(data) => swal.insertQueueStep(data.ip), () => swal.insertQueueStep({ type: 'error', - title: 'Unable to your public IP' + title: 'Unable to get your public IP' }) ) } From 98087e88b92e959cde425d71a375123aeea80b5a Mon Sep 17 00:00:00 2001 From: Gavin Mogan Date: Thu, 15 Feb 2018 09:44:19 -0800 Subject: [PATCH 2/2] Update text to make error message more englishy --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 9d8e1a30..b609701b 100644 --- a/js/main.js +++ b/js/main.js @@ -520,7 +520,7 @@ $('.examples .dynamic-queue button').on('click', () => { preConfirm: () => { return $.get('https://api.ipify.org?format=json').then( (data) => swal.insertQueueStep(data.ip), - () => swal.insertQueueStep({type: 'error', title: 'Unable to your public IP'}) + () => swal.insertQueueStep({type: 'error', title: 'Unable to get your public IP'}) ) } }