diff --git a/out/PiPer.safariextz b/out/PiPer.safariextz
index b1473c6..f7ed9c8 100644
Binary files a/out/PiPer.safariextz and b/out/PiPer.safariextz differ
diff --git a/src/scripts/main.js b/src/scripts/main.js
index d268981..23a83de 100644
--- a/src/scripts/main.js
+++ b/src/scripts/main.js
@@ -164,7 +164,7 @@ const resources = {
},
buttonScale: 0.7,
buttonDidAppear: function() {
- resources['hulu'].buttonParent().querySelector('.progress-bar-tracker').style.width = 'calc(100% - 380px)';
+ currentResource.buttonParent().querySelector('.progress-bar-tracker').style.width = 'calc(100% - 380px)';
},
videoElement: function() {
return document.getElementById('content-video-player');
@@ -236,7 +236,7 @@ const resources = {
},
buttonStyle: 'position:absolute;right:0;top:0;width:2em;height:100%;cursor:pointer;background-color:#262626',
buttonDidAppear: function() {
- resources['netflix'].buttonParent().style.paddingRight = '50px';
+ currentResource.buttonParent().style.paddingRight = '50px';
},
videoElement: function() {
const e = document.querySelector('.player-video-wrapper');
diff --git a/update.plist b/update.plist
index f7d5aa4..4b645ee 100644
--- a/update.plist
+++ b/update.plist
@@ -10,7 +10,7 @@
CFBundleShortVersionString
0.2.0
CFBundleVersion
- 30
+ 31
Developer Identifier
BQ6Q24MF9X
URL