Chromium Code Reviews| Index: chrome/browser/resources/ntp4/apps_page.js |
| diff --git a/chrome/browser/resources/ntp4/apps_page.js b/chrome/browser/resources/ntp4/apps_page.js |
| index 50cfdd20b6ac22c4ea5117a49ffe4e48eb7d9d81..24a58a7554af0b87dfa81ba8324e06c20cef43a3 100644 |
| --- a/chrome/browser/resources/ntp4/apps_page.js |
| +++ b/chrome/browser/resources/ntp4/apps_page.js |
| @@ -194,6 +194,7 @@ cr.define('ntp4', function() { |
| var appSpan = this.ownerDocument.createElement('span'); |
| appSpan.textContent = this.appData_.name; |
| + appSpan.addEventListener('click', this.onClick_.bind(this)); |
|
Rick Byers
2011/08/03 14:41:11
Why add a handler to both the img and span. Would
Evan Stade
2011/08/03 22:11:22
the clickable contour is a little different
|
| appContents.appendChild(appSpan); |
| this.appendChild(appContents); |
| @@ -436,6 +437,7 @@ cr.define('ntp4', function() { |
| }; |
| return { |
| + APP_LAUNCH: APP_LAUNCH, |
| AppsPage: AppsPage, |
| }; |
| }); |