title: Reset Bootstrap button to the normal styles after clicking
body: <p>Buttons in Bootstrap would be active after clicking and remain in active status.
  I applied <code>removeClass();</code> to remove the <code>'btn-active'</code> which would be added after clicking. However it does not work for me.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function func(e){
    $(e.currentTarget).removeClass("btn-active");
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script type="text/javascript" src="https://code.jquery.com/jquery-3.2.1.min.js"&gt;&lt;/script&gt;
  
    &lt;!-- bootstrap --&gt;
    &lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"&gt;
    &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"&gt;&lt;/script&gt;
  
  &lt;div class="container m-5"&gt;
    &lt;input type="button" value="correct" class="btn btn-primary" onclick="func(event)"&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>