1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-15 13:05:47 +01:00

Revert "Fix #258: :set urlseparator= results in infinite loop"

This reverts commit e0f50f4eef07670f5c4ece8496785f6683236dc8.
This commit is contained in:
Kris Maglione
2009-05-01 17:49:41 -04:00
parent dbf60914ab
commit 01a8844d96
2 changed files with 16 additions and 14 deletions

View File

@@ -461,16 +461,12 @@ const config = { //{{{
"Change the title of the window",
"string", "Vimperator",
{
getter: function() {
return document.getElementById(config.mainWindowID || "main-window")
.getAttribute("titlemodifier");
},
setter: function (value)
{
try
{
document.getElementById(config.mainWindowID || "main-window")
.setAttribute("titlemodifier", value);
let id = config.mainWindowID || "main-window";
document.getElementById(id).setAttribute("titlemodifier", value);
if (window.content.document.title.length > 0)
document.title = window.content.document.title + " - " + value;
else