Reputation: 283
In my current project i have a link that opens modal with login form inside. When user enters wrong credentials then I reload page and show again login modal with errors. Currently I am using following code to show modal on page load:
$(function() {
$('#login-modal').modal('show')
});
Everything is OK, but I want disable modal animation just for first time. How can I do this?
There is nothing in documentation about disabling animation just for first time
Upvotes: 1
Views: 4337
Reputation: 155
you should hard code the milliseconds inside modal function for quick response.
Upvotes: -1