BSBMaterial added
This commit is contained in:
7
app/assets/javascripts/BSBMaterial/pages/ui/modals.js
Normal file
7
app/assets/javascripts/BSBMaterial/pages/ui/modals.js
Normal file
@@ -0,0 +1,7 @@
|
||||
$(function () {
|
||||
$('.js-modal-buttons .btn').on('click', function () {
|
||||
var color = $(this).data('color');
|
||||
$('#mdModal .modal-content').removeAttr('class').addClass('modal-content modal-col-' + color);
|
||||
$('#mdModal').modal('show');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user