Current Path : /home/beghelic/public_html/admin/js/pages/ui/ |
Current File : //home/beghelic/public_html/admin/js/pages/ui/modals.js |
$(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'); }); });