diff options
author | SimonBrazell <simon@brazell.com.au> | 2020-01-14 20:48:37 +1100 |
---|---|---|
committer | SimonBrazell <simon@brazell.com.au> | 2020-01-15 17:29:39 +1100 |
commit | e272de67afbc548a0656c11eda253f607bf448af (patch) | |
tree | 8e120642eb6d2c5a79ab6c8281f3d1d336c0e42a /pages/popup/popup.js | |
parent | Update screen shots for latest build (diff) | |
download | libredirect-e272de67afbc548a0656c11eda253f607bf448af.zip |
Fix embedded video redirects
Diffstat (limited to 'pages/popup/popup.js')
-rw-r--r-- | pages/popup/popup.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/popup/popup.js b/pages/popup/popup.js index 799b5ea3..cc1aa567 100644 --- a/pages/popup/popup.js +++ b/pages/popup/popup.js @@ -17,9 +17,9 @@ chrome.storage.sync.get( function debounce(func, wait, immediate) { let timeout; - return function () { + return () => { let context = this, args = arguments; - let later = function () { + let later = () => { timeout = null; if (!immediate) func.apply(context, args); }; |