mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 14:42:30 +02:00
[PWPBM] DTRT WRT titlemodifiers.
This commit is contained in:
1 parent
7f7565e86a
commit
fc11842f5d
2 files changed
+8
-2
No files matched your search
@@ -1432,8 +1432,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
win.setAttribute("titlemodifier_normal", value);
|
||||
win.setAttribute("titlemodifier_privatebrowsing", value + suffix);
|
||||
|
||||
if (services.privateBrowsing.privateBrowsingEnabled) {
|
||||
if (storage.privateMode) {
|
||||
updateTitle(oldValue + suffix, value + suffix);
|
||||
win.setAttribute("titlemodifier", value + suffix);
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user