| Index: chrome/browser/resources/cast/cast.js
|
| diff --git a/chrome/browser/resources/cast/cast.js b/chrome/browser/resources/cast/cast.js
|
| index 57c4a1603969911cb3afa62187026715059a09d1..02e5305e3c23d2df59d6d8ec6be7b6a39f8edd9a 100644
|
| --- a/chrome/browser/resources/cast/cast.js
|
| +++ b/chrome/browser/resources/cast/cast.js
|
| @@ -21,14 +21,12 @@ window.addEventListener('load', function init() {
|
| if (newHash !== oldHash) {
|
| window.location.hash = newHash;
|
| }
|
| - }).observe(extensionView, {
|
| - attributes: true
|
| - });
|
| + }).observe(extensionView, {attributes: true});
|
|
|
| window.addEventListener('hashchange', function() {
|
| var newHash = window.location.hash.substr(1);
|
| - var extensionViewSrcParts = splitUrlOnHash(
|
| - extensionView.getAttribute('src'));
|
| + var extensionViewSrcParts =
|
| + splitUrlOnHash(extensionView.getAttribute('src'));
|
| if (newHash !== extensionViewSrcParts[1]) {
|
| extensionView.load(extensionViewSrcParts[0] + '#' + newHash);
|
| }
|
| @@ -36,6 +34,6 @@ window.addEventListener('load', function init() {
|
|
|
| extensionView.load(
|
| 'chrome-extension://' + loadTimeData.getString('extensionId') +
|
| - '/cast_setup/index.html#' + window.location.hash.substr(1) || 'devices');
|
| + '/cast_setup/index.html#' + window.location.hash.substr(1) ||
|
| + 'devices');
|
| });
|
| -
|
|
|