forked from twbs/bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi,
Trying to get the modal working. When I click the link, I get the following error in the console:
TypeError: BootStrap.Modal is not a constructor
Here is the code for my modal:
<div class="modal fade hide" id="contact-modal" tabindex="-1" role="dialog" aria-labelledby="contact-modal-Label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="contact-modal-Label">Get In Touch</h4>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
And the link for opening the modal:
<a class="telephone" data-toggle="modal" href="#contact-modal"><i class="fa fa-comments"></i>...</a>
Also, do you have plans to port the bootstrap v3 modal js to prototype?
Metadata
Metadata
Assignees
Labels
No labels