mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 07:34:11 +01:00
Refactor isPlayerWindow.
This commit is contained in:
@@ -42,7 +42,7 @@ const config = { //{{{
|
|||||||
},
|
},
|
||||||
|
|
||||||
//get visualbellWindow() getBrowser().mPanelContainer,
|
//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.
|
// focusContent() focuses this widget gSongbirdWindowController takes care of the focus.
|
||||||
get mainWindowID() "mainplayer",
|
get mainWindowID() "mainplayer",
|
||||||
get visualbellWindow() document.getElementById(this.mainWindowID),
|
get visualbellWindow() document.getElementById(this.mainWindowID),
|
||||||
|
|||||||
Reference in New Issue
Block a user