projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8a219
)
More efficient way of doing this.
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 21 Jan 2009 23:58:36 +0000
(16:58 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 21 Jan 2009 23:58:36 +0000
(16:58 -0700)
imp/js/src/DimpBase.js
patch
|
blob
|
history
diff --git
a/imp/js/src/DimpBase.js
b/imp/js/src/DimpBase.js
index
10687f6
..
9c89af2
100644
(file)
--- a/
imp/js/src/DimpBase.js
+++ b/
imp/js/src/DimpBase.js
@@
-1037,7
+1037,7
@@
var DimpBase = {
_portalCallback: function(r)
{
if (r.response.linkTags) {
- var head = $
$('HEAD').first(
);
+ var head = $
(document.documentElement).down('HEAD'
);
r.response.linkTags.each(function(newLink) {
var link = new Element('LINK', { type: 'text/css', rel: 'stylesheet', href: newLink.href });
if (newLink.media) {