+

Disable transition effects

Benjamin Renard [2017-09-09 21:32:29]
Disable transition effects
Filename
public_html/inc/lib/bootstrap/js/bootstrap.js
public_html/index.html
diff --git a/public_html/inc/lib/bootstrap/js/bootstrap.js b/public_html/inc/lib/bootstrap/js/bootstrap.js
index 8a2e99a..25a4403 100644
--- a/public_html/inc/lib/bootstrap/js/bootstrap.js
+++ b/public_html/inc/lib/bootstrap/js/bootstrap.js
@@ -569,7 +569,7 @@ if (typeof jQuery === 'undefined') {

   Collapse.VERSION  = '3.3.7'

-  Collapse.TRANSITION_DURATION = 350
+  Collapse.TRANSITION_DURATION = 0

   Collapse.DEFAULTS = {
     toggle: true
diff --git a/public_html/index.html b/public_html/index.html
index 3091f29..e0ef584 100644
--- a/public_html/index.html
+++ b/public_html/index.html
@@ -26,6 +26,12 @@ div.panel-heading, li.list-group-item, a {
   cursor: pointer;
 }

+.collapsing {
+    -webkit-transition: none;
+    transition: none;
+    display: none;
+}
+
 .count-tag {
   display: inline-block;
   width: 6em;
@@ -84,7 +90,7 @@ div.panel-heading, li.list-group-item, a {
 <div class="container" id="content"></div>


-<div class="modal fade" id="add_scase_modal" tabindex="-1" role="dialog" aria-labelledby="addSCaseModal" aria-hidden="true">
+<div class="modal" id="add_scase_modal" tabindex="-1" role="dialog" aria-labelledby="addSCaseModal" aria-hidden="true">
   <div class="modal-dialog">
     <div class="modal-content">
       <div class="modal-header">
@@ -106,7 +112,7 @@ div.panel-heading, li.list-group-item, a {
   </div><!-- /.modal-dialog -->
 </div>

-<div class="modal fade" id="copy_scase_modal" tabindex="-1" role="dialog" aria-labelledby="copySCaseModal" aria-hidden="true">
+<div class="modal" id="copy_scase_modal" tabindex="-1" role="dialog" aria-labelledby="copySCaseModal" aria-hidden="true">
   <div class="modal-dialog">
     <div class="modal-content">
       <div class="modal-header">
@@ -128,7 +134,7 @@ div.panel-heading, li.list-group-item, a {
   </div><!-- /.modal-dialog -->
 </div>

-<div class="modal fade" id="rename_scase_modal" tabindex="-1" role="dialog" aria-labelledby="renameSCaseModal" aria-hidden="true">
+<div class="modal" id="rename_scase_modal" tabindex="-1" role="dialog" aria-labelledby="renameSCaseModal" aria-hidden="true">
   <div class="modal-dialog">
     <div class="modal-content">
       <div class="modal-header">
@@ -150,7 +156,7 @@ div.panel-heading, li.list-group-item, a {
   </div><!-- /.modal-dialog -->
 </div>

-<div class="modal fade" id="add_cat_modal" tabindex="-1" role="dialog" aria-labelledby="addCatModal" aria-hidden="true">
+<div class="modal" id="add_cat_modal" tabindex="-1" role="dialog" aria-labelledby="addCatModal" aria-hidden="true">
   <div class="modal-dialog">
     <div class="modal-content">
       <div class="modal-header">
@@ -172,7 +178,7 @@ div.panel-heading, li.list-group-item, a {
   </div><!-- /.modal-dialog -->
 </div>

-<div class="modal fade" id="rename_cat_modal" tabindex="-1" role="dialog" aria-labelledby="renameCatModal" aria-hidden="true">
+<div class="modal" id="rename_cat_modal" tabindex="-1" role="dialog" aria-labelledby="renameCatModal" aria-hidden="true">
   <div class="modal-dialog">
     <div class="modal-content">
       <div class="modal-header">
@@ -195,7 +201,7 @@ div.panel-heading, li.list-group-item, a {
 </div>


-<div class="modal fade" id="add_thing_modal" tabindex="-1" role="dialog" aria-labelledby="addThingModal" aria-hidden="true">
+<div class="modal" id="add_thing_modal" tabindex="-1" role="dialog" aria-labelledby="addThingModal" aria-hidden="true">
   <div class="modal-dialog">
     <div class="modal-content">
       <div class="modal-header">
@@ -217,7 +223,7 @@ div.panel-heading, li.list-group-item, a {
   </div><!-- /.modal-dialog -->
 </div>

-<div class="modal fade" id="rename_thing_modal" tabindex="-1" role="dialog" aria-labelledby="renameThingModal" aria-hidden="true">
+<div class="modal" id="rename_thing_modal" tabindex="-1" role="dialog" aria-labelledby="renameThingModal" aria-hidden="true">
   <div class="modal-dialog">
     <div class="modal-content">
       <div class="modal-header">
@@ -240,7 +246,7 @@ div.panel-heading, li.list-group-item, a {
 </div>


-<div class="modal fade" id="please_wait_modal" tabindex="-1" role="dialog" aria-labelledby="pleaseWaitModal" aria-hidden="true" data-keyboard='false' data-backdrop='static'>
+<div class="modal" id="please_wait_modal" tabindex="-1" role="dialog" aria-labelledby="pleaseWaitModal" aria-hidden="true" data-keyboard='false' data-backdrop='static'>
   <div class="modal-dialog">
     <div class="modal-content">
       <div class="modal-header">
@@ -257,7 +263,7 @@ div.panel-heading, li.list-group-item, a {
   </div><!-- /.modal-dialog -->
 </div>

-<div class="modal fade" id="confirm_modal" tabindex="-1" role="dialog" aria-labelledby="confirmModal" aria-hidden="true">
+<div class="modal" id="confirm_modal" tabindex="-1" role="dialog" aria-labelledby="confirmModal" aria-hidden="true">
   <div class="modal-dialog">
     <div class="modal-content">
       <div class="modal-header">
ViewGit