Browse files

Access the array, not the item!

  • Loading branch information...
1 parent 5f57845 commit 0009f646092c5e0ead10b0f491f10ba1a74c6506 @andrewdavey committed Sep 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/client/vogue-client.js
View
2 src/client/vogue-client.js
@@ -141,7 +141,7 @@
// Go through all the style tags, looking for @import tags.
links = document.getElementsByTagName("style");
for (i = 0, m = links.length; i < m; i += 1) {
- if (isPrintStylesheet(link[i])) continue;
+ if (isPrintStylesheet(links[i])) continue;
content = links[i].text || links[i].textContent;
while ((matches = reImport.exec(content))) {
link = {

0 comments on commit 0009f64

Please sign in to comment.