wachichornia
wachichornia

Reputation: 1188

twitter bootstrap modals not working when pushed to Heroku

The modals work locally, but when I push, they're not showing up. Not the ones where I have to click to show up, nor the ones that should show up automatically.

Has anybody ever had this issue?

<!-- modal window for explaining -->
<div class="modal fade center" id="self-b" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header center">
    <h3 style="font-weight:normal;">First things first</h3>
  </div>
</div>

<script type="text/javascript">
  $('#self-b').modal()
</script>

Upvotes: 1

Views: 772

Answers (1)

wachichornia
wachichornia

Reputation: 1188

Answer on this thread:

Heroku assets for Twipsy and Tablesorter not working, locally yes

a gem got updated and inversed the order of loading js in appliaction.js. Putting require tree . at the end fixed it.

Upvotes: 1

Related Questions