Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 /** | |
| 6 * Wire up the prefs to the a11y page. | |
| 7 */ | |
| 8 window.onload = function() { | |
|
michaelpg
2015/03/06 20:25:59
I believe it's more "correct" to use window.addEve
Jeremy Klein
2015/03/06 21:33:56
This isn't really necessary in this case because t
michaelpg
2015/03/06 22:33:49
Data binding seems to work, but apparently it's no
| |
| 9 var page = document.querySelector('cr-settings-a11y-page'); | |
| 10 page.prefs = document.querySelector('cr-settings-prefs'); | |
| 11 }; | |
| OLD | NEW |