X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsrc%2FRoo_bootstrap_version.js.html;fp=docs%2Fsrc%2FRoo_bootstrap_version.js.html;h=a496b1805176eba6ecdfab2b5832a71d25223507;hb=9ff8ded6bbbd258ecd646184ba26020874e2c085;hp=0000000000000000000000000000000000000000;hpb=2542b67d1a0768025056f2f330bfe50b64d1ad38;p=roojs1 diff --git a/docs/src/Roo_bootstrap_version.js.html b/docs/src/Roo_bootstrap_version.js.html new file mode 100644 index 0000000000..a496b18051 --- /dev/null +++ b/docs/src/Roo_bootstrap_version.js.html @@ -0,0 +1,15 @@ +
/**
+ * set the version of bootstrap based on the stylesheet...
+ *
+ */
+
+Roo.bootstrap.version = (
+ function() {
+ var ret=3;
+ Roo.each(document.styleSheets[0], function(s) {
+ if (s.href.match(/css-bootstrap4/)) {
+ ret=4;
+ }
+ });
+ return ret;
+})();
\ No newline at end of file