OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 // Wire up the prefs to the downloads page. |
6 * Wire up the prefs to the a11y page. | 6 window.addEventListener('polymer-ready', function() { |
7 */ | 7 var page = document.querySelector('cr-settings-downloads-page'); |
8 window.onload = function() { | |
9 var page = document.querySelector('cr-settings-a11y-page'); | |
10 page.prefs = document.querySelector('cr-settings-prefs'); | 8 page.prefs = document.querySelector('cr-settings-prefs'); |
11 }; | 9 }); |
OLD | NEW |