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 82aa144ad7774b8cc4118b214538aa586c4e39c7..619b3ebabea6a19d410e1cb3296005be2f088678 100644 |
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js |
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js |
@@ -357,9 +357,9 @@ Polymer({ |
* @return {string} The title of for that |dialogId|. |
*/ |
getTitle_: function(dialogId) { |
- return this.i18n( |
- dialogId == 'addDevice' ? 'bluetoothAddDevicePageTitle' : |
- 'bluetoothPairDevicePageTitle'); |
+ if (dialogId == 'addDevice') |
+ return this.i18n('bluetoothAddDevicePageTitle'); |
+ return this.i18n('bluetoothPairDevicePageTitle'); |
Dan Beam
2016/07/13 01:35:11
what's the functional difference here?
stevenjb
2016/07/13 17:26:43
None, it just seems more clear to me now that ther
|
}, |
/** |