Index: chrome/browser/resources/history/history.js |
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js |
index f71c4992d985dfac0d05218b1ab03232550e3d8a..9dcc41da5ab36bc0510539ddb4f178f77fe11862 100644 |
--- a/chrome/browser/resources/history/history.js |
+++ b/chrome/browser/resources/history/history.js |
@@ -2180,7 +2180,8 @@ function entryBoxClick(event) { |
return; |
} |
} |
- var checkbox = $(event.currentTarget.getAttribute('for')); |
+ var checkbox = /** @type {!HTMLInputElement} */( |
Dan Beam
2014/09/05 21:28:46
why not assertInstanceOf?
Vitaly Pavlenko
2014/09/05 23:42:13
Done.
|
+ $(event.currentTarget.getAttribute('for'))); |
checkbox.checked = !checkbox.checked; |
handleCheckboxStateChange(checkbox, event.shiftKey); |
// We don't want to focus on the checkbox. |