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' }) ) } 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'}) ) } }