Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Unified Diff: chrome/common/extensions/docs/examples/extensions/news/feed.html

Issue 437060: Fixes infinite loop within the JS of the news extension that was causing a ne... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/docs/examples/extensions/news/feed.html
===================================================================
--- chrome/common/extensions/docs/examples/extensions/news/feed.html (revision 33066)
+++ chrome/common/extensions/docs/examples/extensions/news/feed.html (working copy)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
<html>
<head>
<style>
@@ -15,16 +15,16 @@
}
.open_box {
- display:block;
- overflow:hidden;
- margin-right:4px;
- margin-top:2px;
- height:12px;
- width:12px;
+ display: block;
+ overflow: hidden;
+ margin-right: 4px;
+ margin-top: 2px;
+ height: 12px;
+ width: 12px;
float: left;
clear: left;
- background-image:url(sprite_arrows.gif);
- background-position:0px -24px;
+ background-image: url(sprite_arrows.gif);
+ background-position: 0px -24px;
cursor: pointer;
}
@@ -68,7 +68,7 @@
text-align: right;
padding-top: 20px;
padding-right: 10px;
- color: #8888CC;
+ color: #88C;
}
</style>
@@ -86,6 +86,7 @@
links[i].addEventListener("click", showStory);
}
}
+ window.addEventListener("message", messageHandler);
}
function showStory(event) {
@@ -98,7 +99,6 @@
reportHeight();
}
-window.addEventListener("message", messageHandler);
</script>
<script>
// Feed URL.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698