projects
/
booh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83f07a2
)
document.body.offsetWidth is not yet defined when still processing head
author
Guillaume Cottenceau
<gcottenc@gmail.com>
Tue, 5 Oct 2010 20:09:31 +0000
(22:09 +0200)
committer
Guillaume Cottenceau
<gcottenc@gmail.com>
Tue, 5 Oct 2010 20:09:31 +0000
(22:09 +0200)
lib/booh/html-merges.rb
patch
|
blob
|
history
diff --git
a/lib/booh/html-merges.rb
b/lib/booh/html-merges.rb
index
713f43a
..
018d4df
100644
(file)
--- a/
lib/booh/html-merges.rb
+++ b/
lib/booh/html-merges.rb
@@
-152,13
+152,11
@@
function getPreferredSize() {
return 'thumbnails-~~default_size~~-0~~htmlsuffix~~';
}
-window.location.href = getPreferredSize();
-
</script>
<meta http-equiv="refresh" content="0.1;url=thumbnails-~~default_size~~-nojs-0~~htmlsuffix~~" />
</head>
- <body>
+ <body
onload="window.location.href = getPreferredSize()"
>
</body>
</html>
EOF