Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Commit d794f9d

Browse files
Construct in-session window title from scratch, not cumulatively.
BUG=None TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10374002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135249 0039d316-1c4b-4281-b951-d872f2087c98
1 parent 602c0e9 commit d794f9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

remoting/webapp/client_screen.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,8 @@ remoting.connectMe2MeWithPin = function() {
526526
remoting.hostJid = host.jabberId;
527527
remoting.hostPublicKey = host.publicKey;
528528
document.getElementById('connected-to').innerText = host.hostName;
529-
document.title = document.title + ': ' + host.hostName;
529+
document.title = chrome.i18n.getMessage('PRODUCT_NAME') + ': ' +
530+
host.hostName;
530531

531532
remoting.WcsLoader.load(connectMe2MeWithAccessToken_);
532533
};

0 commit comments

Comments
 (0)