mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
Fix popup cast menu item enabled state
This commit is contained in:
@@ -171,8 +171,10 @@
|
|||||||
enabled:
|
enabled:
|
||||||
// Not already connecting to a receiver
|
// Not already connecting to a receiver
|
||||||
!isConnecting &&
|
!isConnecting &&
|
||||||
|
!isAnyConnecting &&
|
||||||
// Selected media type available
|
// Selected media type available
|
||||||
isMediaTypeAvailable
|
isMediaTypeAvailable &&
|
||||||
|
isAnyMediaTypeAvailable
|
||||||
});
|
});
|
||||||
|
|
||||||
browser.menus.update(menuIds.POPUP_STOP, {
|
browser.menus.update(menuIds.POPUP_STOP, {
|
||||||
|
|||||||
Reference in New Issue
Block a user