Index: chrome/browser/resources/options/content_settings.js |
=================================================================== |
--- chrome/browser/resources/options/content_settings.js (revision 97964) |
+++ chrome/browser/resources/options/content_settings.js (working copy) |
@@ -45,20 +45,14 @@ |
}; |
} |
- var manageHandlersButton = $('manage-handlers-button'); |
+ var manageHandlersButton = |
+ this.pageDiv.querySelector('#manage-handlers-button'); |
if (manageHandlersButton) { |
manageHandlersButton.onclick = function(event) { |
OptionsPage.navigateToPage('handlers'); |
}; |
} |
- var manageIntentsButton = $('manage-intents-button'); |
- if (manageIntentsButton) { |
- manageIntentsButton.onclick = function(event) { |
- OptionsPage.navigateToPage('intents'); |
- }; |
- } |
- |
// Cookies filter page --------------------------------------------------- |
$('show-cookies-button').onclick = function(event) { |
chrome.send('coreOptionsUserMetricsAction', ['Options_ShowCookies']); |
@@ -69,7 +63,7 @@ |
$('click_to_play').hidden = true; |
if (!templateData.enable_web_intents) |
- $('intent-section').hidden = true; |
+ $('intent-filter').hidden = true; |
}, |
}; |