Index: chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js |
diff --git a/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js b/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js |
index 1b7f03b69afddc191a5de36b3407292299621be8..204d1ac2eabfca56d6f4a148d1569c5b62df9348 100644 |
--- a/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js |
+++ b/chrome/common/extensions/docs/examples/api/history/showHistory/typedUrls.js |
@@ -1,3 +1,7 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
// Event listner for clicks on links in a browser action popup. |
// Open the link in a new tab of the current window. |
function onAnchorClick(event) { |
@@ -110,4 +114,6 @@ function buildTypedUrlList(divName) { |
}; |
} |
- |
+document.addEventListener('DOMContentLoaded', function () { |
+ buildTypedUrlList("typedUrl_div"); |
+}); |