title: SweetAlert showLoaderOnConfirm not displaying
body: <p>i am using sweetalert to display delete confirmation,and process it later while displayin a loading action,though it is not working,thi is the code,that doesn't work (it is supposed to display a loading animation,but it actually is not doing so) any thoughts ?</p>
  
  <p>This the javascript</p>
  
  <pre><code>document.querySelector('div.test').onclick = function() {
  swal({
  title: 'Ajax request example',
  text: 'Submit to run ajax request',
  type: 'info',
  showCancelButton: true,
  closeOnConfirm: false,
  showLoaderOnConfirm: true,
  }, function(){
   setTimeout(function() {
    swal('Ajax request finished!');
  }, 2000);
  });
  };
  </code></pre>
  
  <p>Html </p>
  
  <pre><code>&lt;div class="test"&gt;
  &lt;button&gt;show alert&lt;/button&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>this is the <a href="http://jsfiddle.net/xe096w10/283/" rel="nofollow">fiddle</a></p>