JSFiddle - React, Tailwind, and code Playground

by anuraguniyal

HTML

<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<div id="test-modal" class="modal hide fade" data-keyboard="true">
    <div class="modal-body">
       modal show after a hide doesn't work?
    </div>
</div>

<button id="show_modal" class="btn">Show Modal</button>

JavaScript

$('#show_modal').click(function(){
   $('#test-modal').modal('show')
   $('#test-modal').modal('hide')
   $('#test-modal').modal('show')
})