summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/net_internals/httpthrottlingview.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources/net_internals/httpthrottlingview.js')
-rw-r--r--chrome/browser/resources/net_internals/httpthrottlingview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/net_internals/httpthrottlingview.js b/chrome/browser/resources/net_internals/httpthrottlingview.js
index 4cc8305..03a55db5 100644
--- a/chrome/browser/resources/net_internals/httpthrottlingview.js
+++ b/chrome/browser/resources/net_internals/httpthrottlingview.js
@@ -9,7 +9,7 @@
function HttpThrottlingView(mainBoxId, enableCheckboxId) {
DivView.call(this, mainBoxId);
- this.enableCheckbox_ = document.getElementById(enableCheckboxId);
+ this.enableCheckbox_ = $(enableCheckboxId);
this.enableCheckbox_.onclick = this.onEnableCheckboxClicked_.bind(this);
g_browser.addHttpThrottlingObserver(this);