Index: chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html |
diff --git a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html |
index 3a765a5ff91cabe6aaf2437d0c98fece74ea0600..82558cce92f4efa15b7601da0a9d5e7e5d6a9e00 100644 |
--- a/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html |
+++ b/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/infobar.html |
@@ -29,14 +29,6 @@ |
The word <em>sandwich</em> appears <em id="count">X</em> times on this |
page. |
</div> |
- <script> |
- // Obtain the count of sandwiches from the page URL. |
- var count = window.location.hash.substring(1); |
- if (count) { |
- // Replace the placeholder text with the actual count. |
- var domcount = document.querySelector('#count'); |
- domcount.innerText = count; |
- } |
- </script> |
+ <script src="infobar.js"></script> |
</body> |
</html> |