Skip to content

Commit

Permalink
Added the word 'get' to error message to make it make sense (#9)
Browse files Browse the repository at this point in the history
* Added the word 'get' to error message to make it make sense

* Update text to make error message more englishy
  • Loading branch information
halkeye committed Feb 15, 2018
1 parent 12ab8de commit 3ae2ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ <h3 id="examples">More examples</h3>
(data) => swal.insertQueueStep(data.ip),
() => swal.insertQueueStep({
type: <span class="str">'error'</span>,
title: <span class="str">'Unable to your public IP'</span>
title: <span class="str">'Unable to get your public IP'</span>
})
)
}
Expand Down
2 changes: 1 addition & 1 deletion js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'})
)
}
}
Expand Down

0 comments on commit 3ae2ca0

Please sign in to comment.