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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user