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

Unified Diff: chrome/browser/resources/chat_manager/central_roster.html

Issue 3069006: Fixing CSS and switching over to DOM properties for central_roster.html. (Closed)
Patch Set: Fix Created 10 years, 5 months 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/browser/resources/chat_manager/central_roster.html
diff --git a/chrome/browser/resources/chat_manager/central_roster.html b/chrome/browser/resources/chat_manager/central_roster.html
index 25a96a1c1df4993761bf9962f52e0bc01bb2f67a..fe62d2bb20e1ac6700855f04e6fd3e4c67f5238a 100644
--- a/chrome/browser/resources/chat_manager/central_roster.html
+++ b/chrome/browser/resources/chat_manager/central_roster.html
@@ -20,8 +20,7 @@ Central roster: hosting all Google Talk chats in ChromeOS.
width: 100%;
height: 100%;
border: none;
- overflow-x: hidden;
- overflow-y: hidden;
+ overflow: hidden;
}
body {
text-align: center;
@@ -58,9 +57,9 @@ Central roster: hosting all Google Talk chats in ChromeOS.
function runGTalkScript() {
var script = document.createElement('script');
- script.setAttribute('src', notifierScriptUrl);
- script.setAttribute('onload', 'loadGTalk()');
- script.setAttribute('onerror', 'loadGTalk()');
+ script.src = notifierScriptUrl;
+ script.onload = loadGTalk;
+ script.onerror = loadGTalk;
document.body.appendChild(script);
}
function retryConnection() {
« 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