]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove bs-example classes from large/small modals. fixes #22265.
authorMark Otto <markdotto@gmail.com>
Mon, 3 Jul 2017 18:42:23 +0000 (11:42 -0700)
committerMark Otto <markdotto@gmail.com>
Mon, 3 Jul 2017 18:42:23 +0000 (11:42 -0700)
docs/_includes/js/modal.html

index f42ed334cc1faaac51da9d1752b7d6fef49f0715..c2c772b5d6ec83d2c1b372476a9dc99f47cec943 100644 (file)
@@ -160,7 +160,7 @@ $('#myModal').on('shown.bs.modal', function () {
 <!-- Large modal -->
 <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg">Large modal</button>
 
-<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
+<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
   <div class="modal-dialog modal-lg" role="document">
     <div class="modal-content">
       ...
@@ -171,7 +171,7 @@ $('#myModal').on('shown.bs.modal', function () {
 <!-- Small modal -->
 <button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-sm">Small modal</button>
 
-<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
+<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
   <div class="modal-dialog modal-sm" role="document">
     <div class="modal-content">
       ...