projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6c94ea
)
builder.html.js
author
Alan Knowles
<alan@roojs.com>
Fri, 25 Apr 2014 08:55:49 +0000
(16:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 25 Apr 2014 08:55:49 +0000
(16:55 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
b198e37
..
8376f80
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-572,17
+572,19
@@
Builder = {
return;
}
Roo.log("remove css");
+ var rem = [];
var ar = document.getElementsByTagName('link');
for (var i = 0; i < ar.length;i++) {
var l = ar[i];
Roo.log(l.getAttribute('href'));
if (l.getAttribute('href').match(/bootstrap/)) {
- l.parentNode.removeChild(l);
+ rem.push(l);
+
}
//code
}
-
+ Roo.each(rem, function(l) { l.parentNode.removeChild(l);});
}
};