1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 23:17:59 +01:00

Remove config.mainWindowID tests from common/*.

This commit is contained in:
Doug Kearns
2009-06-25 21:02:06 +10:00
parent 90e3dd345f
commit ddfa294e1b
5 changed files with 10 additions and 9 deletions

View File

@@ -485,8 +485,7 @@ const config = { //{{{
{
try
{
let id = config.mainWindowID || "main-window";
document.getElementById(id).setAttribute("titlemodifier", value);
document.getElementById(config.mainWindowID).setAttribute("titlemodifier", value);
if (window.content.document.title.length > 0)
document.title = window.content.document.title + " - " + value;
else