Permalink
Browse files

better title

  • Loading branch information...
1 parent a8bb19c commit 537900b83a95dd4bcd9342b1a191e505382ca9d3 @paulrouget committed Aug 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 chrome/jsterm.js
  2. BIN jsterm.xpi
View
@@ -120,7 +120,7 @@ let JSTermUI = {
if (this.completion) this.completion.destroy();
this.completion = new JSCompletion(this.input, label, this.sb);
this.inputContainer.classList.add("chrome");
- window.document.title = "JSTerm: (chrome) " + this.chrome.location;
+ window.document.title = "JSTerm: (chrome) " + this.chrome.document.title;
},
switchToContentMode: function() {
@@ -133,7 +133,7 @@ let JSTermUI = {
this.print("// Switched to content mode.");
}
this.inputContainer.classList.remove("chrome");
- window.document.title = "JSTerm: " + this.content.location;
+ window.document.title = "JSTerm: " + this.content.document.title;
},
buildSandbox: function(win) {
View
Binary file not shown.

0 comments on commit 537900b

Please sign in to comment.