about summary refs log tree commit diff stats
path: root/pages/popup
diff options
context:
space:
mode:
authorSimonBrazell <simon@brazell.com.au>2020-01-14 20:48:37 +1100
committerSimonBrazell <simon@brazell.com.au>2020-01-15 17:29:39 +1100
commite272de67afbc548a0656c11eda253f607bf448af (patch)
tree8e120642eb6d2c5a79ab6c8281f3d1d336c0e42a /pages/popup
parentUpdate screen shots for latest build (diff)
downloadlibredirect-e272de67afbc548a0656c11eda253f607bf448af.zip
Fix embedded video redirects
Diffstat (limited to 'pages/popup')
-rw-r--r--pages/popup/popup.html2
-rw-r--r--pages/popup/popup.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/pages/popup/popup.html b/pages/popup/popup.html
index 22ccb025..b5285de0 100644
--- a/pages/popup/popup.html
+++ b/pages/popup/popup.html
@@ -14,7 +14,7 @@
       <img src="../../images/logo.png" alt="Privacy Redirect logo">
     </div>
     <small>
-      <span>Version</span>: 1.1.2</span>
+      <span>Version</span>: 1.1.3</span>
     </small>
   </header>
 
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);
     };