Roo/Element.js
authorAlan Knowles <alan@roojs.com>
Mon, 14 Dec 2020 04:49:31 +0000 (12:49 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 14 Dec 2020 04:49:31 +0000 (12:49 +0800)
Roo/Element.js

index 45c5c77..69d4311 100644 (file)
@@ -118,8 +118,9 @@ if(opt.anim.isAnimated()){
          */
         originalDisplay : "",
 
-        // default to display in BS 4 - no idea why it was visibility before..
-        visibilityMode : typeof(Roo.bootstrap.version) != 'undefined' && Roo.bootstrap.version > 3 ? 2 :  1,
+        
+        // note this is overridden in BS version..
+        visibilityMode : 1, 
         /**
          * The default unit to append to CSS values where a unit isn't provided (defaults to px).
          * @type String