mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 14:52:13 +00:00
filter actions that are dispatched
This commit is contained in:
parent
2f57ab81bf
commit
0cfaa26115
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ function Core() {
|
|||
events.off(name, listener);
|
||||
}
|
||||
function dispatch(action, model) {
|
||||
if (!active) {
|
||||
if (!active || typeof action === 'undefined') {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue