Skip to content

Commit 87b10b3

Browse files
committed
Make sure checkStatus fires no matter what.
1 parent 2880943 commit 87b10b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/js/run.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ jQuery( document ).ready(function($) {
6161
jQuery( '#wpe-progress' ).show();
6262

6363
// Start the test!
64-
jQuery.post( ajaxurl, data , function()
65-
{
64+
jQuery.post( ajaxurl, data ).always(function() {
6665
// Start timer to check scan status.
6766
checkStatus();
6867
});

0 commit comments

Comments
 (0)