Chromium Code Reviews| Index: chrome/browser/resources/settings/device_page/device_page.html |
| diff --git a/chrome/browser/resources/settings/device_page/device_page.html b/chrome/browser/resources/settings/device_page/device_page.html |
| index c71eb7866fb533d037e5e5d296fbd905a08bf158..9710f490b427065c104043287715b5e34ed55677 100644 |
| --- a/chrome/browser/resources/settings/device_page/device_page.html |
| +++ b/chrome/browser/resources/settings/device_page/device_page.html |
| @@ -101,12 +101,14 @@ |
| <settings-keyboard prefs="{{prefs}}"></settings-keyboard> |
| </settings-subpage> |
| </template> |
| - <template is="dom-if" route-path="/stylus"> |
| - <settings-subpage |
| - associated-control="[[$$('#stylusRow')]]" |
| - page-title="$i18n{stylusTitle}"> |
| - <settings-stylus prefs="{{prefs}}"></settings-stylus> |
| - </settings-subpage> |
| + <template is="dom-if" if="[[hasStylus_]]"> |
| + <template is="dom-if" route-path="/stylus"> |
|
jdufault
2017/02/28 23:41:00
Does navigating directly to the stylus subpage wor
stevenjb
2017/03/01 00:03:16
Yes, the stylus page is fine. The problem is that
stevenjb
2017/03/01 00:10:33
I just realized I answered the wrong question :)
stevenjb
2017/03/01 00:31:37
OK, I looked at this some more and understand why
|
| + <settings-subpage |
| + associated-control="[[$$('#stylusRow')]]" |
| + page-title="$i18n{stylusTitle}"> |
| + <settings-stylus prefs="{{prefs}}"></settings-stylus> |
| + </settings-subpage> |
| + </template> |
| </template> |
| <template is="dom-if" route-path="/display"> |
| <settings-subpage |