| Index: chrome/browser/resources/local_ntp/most_visited_util.js
|
| diff --git a/chrome/browser/resources/local_ntp/most_visited_util.js b/chrome/browser/resources/local_ntp/most_visited_util.js
|
| index 6898b2843771985ec17466054e498b1b48ef9689..52ad99f68ed7d112cfedac4940cae430d42130e4 100644
|
| --- a/chrome/browser/resources/local_ntp/most_visited_util.js
|
| +++ b/chrome/browser/resources/local_ntp/most_visited_util.js
|
| @@ -7,7 +7,7 @@
|
| * @fileoverview Utilities for rendering most visited thumbnails and titles.
|
| */
|
|
|
| -<include src="instant_iframe_validation.js">
|
| +// <include src="instant_iframe_validation.js">
|
|
|
|
|
| /**
|
| @@ -107,8 +107,8 @@ function createMostVisitedLink(params, href, title, text, direction) {
|
| event.keyCode == 8 /* BACKSPACE */) {
|
| event.preventDefault();
|
| window.parent.postMessage('tileBlacklisted,' + params.pos, DOMAIN_ORIGIN);
|
| - } else if (event.keyCode == 13 /* ENTER */ ||
|
| - event.keyCode == 32 /* SPACE */) {
|
| + } else if (
|
| + event.keyCode == 13 /* ENTER */ || event.keyCode == 32 /* SPACE */) {
|
| // Event target is the <a> tag. Send a click event on it, which will
|
| // trigger the 'click' event registered above.
|
| event.preventDefault();
|
| @@ -221,8 +221,7 @@ function fillMostVisited(location, fill) {
|
| if (isFinite(params.dummy) && parseInt(params.dummy, 10)) {
|
| data.dummy = true;
|
| }
|
| - if (/^javascript:/i.test(data.url) ||
|
| - /^javascript:/i.test(data.thumbnailUrl))
|
| + if (/^javascript:/i.test(data.url) || /^javascript:/i.test(data.thumbnailUrl))
|
| return;
|
| if (data.direction)
|
| document.body.dir = data.direction;
|
|
|