title: reloading the page after the ok button in sweetalert
body: <p>I am using sweetAlert code to reload the page after i click the OK, but it just appears for 4 seconds and then reload the page, how can i fix it. </p>
  
  <p>my Code: </p>
  
  <pre><code>localStorage.setItem("swal",swal({title:"Good job!", text:"Thanks For your Quotation, we will get back to you soon!",
                          type:"success",timer:4000,showConfirmButton: true}));
                          location.reload();
                          localStorage.getItem("swal");
  </code></pre>