Commit 94d0c1bb authored by dbeam's avatar dbeam Committed by Commit bot

history: fix tappable blank space at the end of history entries.

R=estade@chromium.org
BUG=407539

Review URL: https://codereview.chromium.org/594403004

Cr-Commit-Position: refs/heads/master@{#296650}
parent 542c416b
...@@ -204,11 +204,13 @@ Visit.prototype.getResultDOM = function(propertyBag) { ...@@ -204,11 +204,13 @@ Visit.prototype.getResultDOM = function(propertyBag) {
if (focusless) if (focusless)
checkbox.tabIndex = -1; checkbox.tabIndex = -1;
// Clicking anywhere in the entryBox will check/uncheck the checkbox. if (!isMobileVersion()) {
entryBox.setAttribute('for', checkbox.id); // Clicking anywhere in the entryBox will check/uncheck the checkbox.
entryBox.addEventListener('mousedown', entryBoxMousedown); entryBox.setAttribute('for', checkbox.id);
entryBox.addEventListener('click', entryBoxClick); entryBox.addEventListener('mousedown', entryBoxMousedown);
entryBox.addEventListener('keydown', this.handleKeydown_.bind(this)); entryBox.addEventListener('click', entryBoxClick);
entryBox.addEventListener('keydown', this.handleKeydown_.bind(this));
}
} }
// Keep track of the drop down that triggered the menu, so we know // Keep track of the drop down that triggered the menu, so we know
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment