projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
check ifdef for bootstrap version
[roojs1]
/
roojs-bootstrap-debug.js
diff --git
a/roojs-bootstrap-debug.js
b/roojs-bootstrap-debug.js
index
f155bf7
..
48a8ef5
100644
(file)
--- 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 (s.href.match(/css-bootstrap4/)) {
+ if (
typeof(s.href) != 'undefined' &&
s.href.match(/css-bootstrap4/)) {
ret=4;
}
});