From 2f69a0694c83eeb13f58f22c7443ea2ed4185e64 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 5 Mar 2012 11:40:26 +0100 Subject: [PATCH] Proper link to userscript when updating --- couchpotato/core/plugins/userscript/static/userscript.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/userscript/static/userscript.js b/couchpotato/core/plugins/userscript/static/userscript.js index 0e2d768..f167739 100644 --- a/couchpotato/core/plugins/userscript/static/userscript.js +++ b/couchpotato/core/plugins/userscript/static/userscript.js @@ -90,7 +90,7 @@ window.addEvent('load', function(){ if(your_version && your_version < latest_version && checked_already < latest_version){ if(confirm("Update to the latest Userscript?\nYour version: " + your_version + ', new version: ' + latest_version )){ - document.location = Api.getOption('url')+'userscript.get/?couchpotato.user.js'; + document.location = Api.getOption('url')+'userscript.get/couchpotato.user.js'; } Cookie.write(key, latest_version, {duration: 100}); }