mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 23:14:12 +01:00
Refactor isPlayerWindow.
This commit is contained in:
@@ -42,7 +42,7 @@ const config = { //{{{
|
||||
},
|
||||
|
||||
//get visualbellWindow() getBrowser().mPanelContainer,
|
||||
get isPlayerWindow() gBrowser.mCurrentTab._tPos == 0,
|
||||
get isPlayerWindow() getBrowser().mCurrentTab == getBrowser().mediaTab,
|
||||
// focusContent() focuses this widget gSongbirdWindowController takes care of the focus.
|
||||
get mainWindowID() "mainplayer",
|
||||
get visualbellWindow() document.getElementById(this.mainWindowID),
|
||||
|
||||
Reference in New Issue
Block a user