X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-bootstrap-debug.js;fp=roojs-bootstrap-debug.js;h=c28bd99c929962818f3349a46209019bc14fa414;hp=48a8ef58bb937f74f3a200abde39b97ea3bb80ec;hb=956622cdc1f0584adc4f530747c1cfcd1f26b1a7;hpb=94773a1f11608065e3899524849ff867ac81e7a2 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 48a8ef58bb..c28bd99c92 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -7,7 +7,7 @@ Roo.bootstrap.version = ( function() { var ret=3; Roo.each(document.styleSheets, function(s) { - if (typeof(s.href) != 'undefined' && s.href.match(/css-bootstrap4/)) { + if ( s.href && s.href.match(/css-bootstrap4/)) { ret=4; } });