diff options
| author | Teddy Wing | 2021-02-20 04:13:17 +0100 |
|---|---|---|
| committer | Teddy Wing | 2021-02-20 04:13:17 +0100 |
| commit | 55dbd98c262fbc025f31ff42e4acac83d0a22909 (patch) | |
| tree | 168a49871b167ceffb8343fa693d150b2b1bb5d6 | |
| parent | 164dcc3cbd6a5f6d8a185d50dba435fa46a1e0f5 (diff) | |
| download | netflix-esc-55dbd98c262fbc025f31ff42e4acac83d0a22909.tar.bz2 | |
Update `close_button` selector
The selector for the info modal close button changed recently. Update it
to work with the current markup.
| -rw-r--r-- | netflix-esc.user.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netflix-esc.user.js b/netflix-esc.user.js index 4bcf649..19a9562 100644 --- a/netflix-esc.user.js +++ b/netflix-esc.user.js @@ -45,7 +45,7 @@ document.addEventListener( // Click the close button in the info modal. function info_modal_close () { var close_button = document.querySelector( - '[data-uia="previewModal-closebtn"] > [role="button"]' + '[data-uia="previewModal-closebtn"][role="button"]' ); var click = new MouseEvent( |
