Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js

Issue 2651483002: MD Settings: Eliminate use of ES6 for Chrome OS (Closed)
Patch Set: Feedback Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js
index e84f96c4f5ab6107fb92ec31b8c1e7e6936d1ca7..a5ebfd0931c94c64369bf1a227d78cd9e803b70b 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js
@@ -60,7 +60,7 @@ settings.BluetoothAddDeviceBehavior = {
return;
// If the iron-list is populated with at least one visible item then
// focus it.
- let item = this.$$('iron-list bluetooth-device-list-item');
+ var item = this.$$('iron-list bluetooth-device-list-item');
if (item && item.offsetParent != null) {
item.focus();
this.itemWasFocused_ = true;

Powered by Google App Engine
This is Rietveld 408576698