X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=43aa293fb711c7f9a9e7788a8a68b08fa9a2873d;hb=7c5c5e78c540179da19c9417b1c04eac05a253be;hp=1d33a0d8ac170909eedf8245537d9206bd48251d;hpb=8ae8cc8a4daeeca1e96d69ba554a8ac2e5209e56;p=roojs1 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 1d33a0d8ac..43aa293fb7 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -6,13 +6,210 @@ Roo.bootstrap.version = ( function() { var ret=3; - Roo.each(document.styleSheets[0], function(s) { - if (s.href.match(/css-bootstrap4/)) { + Roo.each(document.styleSheets, function(s) { + if ( s.href && s.href.match(/css-bootstrap4/)) { ret=4; } }); return ret; -})();/* +})(); /* + * Based on: + * Ext JS Library 1.1.1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * + * Originally Released Under LGPL - original licence link has changed is not relivant. + * + * Fork - LGPL + *