changeset 64:6715e53ad0bf

Oh whoops missing var
author nanaya <me@nanaya.pro>
date Wed, 10 Jul 2019 22:27:45 +0900
parents 53d0f935ecb8
children 72ef6fcdff44
files tweetdeck-large-image.user.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tweetdeck-large-image.user.js	Wed Jul 10 22:26:12 2019 +0900
+++ b/tweetdeck-large-image.user.js	Wed Jul 10 22:27:45 2019 +0900
@@ -1,7 +1,7 @@
 // ==UserScript==
 // @name         Tweetdeck large image
 // @namespace    https://myconan.net
-// @version      2.0.5
+// @version      2.0.5.1
 // @description  No more stupid link for images in tweetdeck
 // @author       nanaya
 // @match        https://tweetdeck.twitter.com/*
@@ -54,7 +54,7 @@
       url = image.src;
     }
 
-    parsedUrl = new URL(url);
+    var parsedUrl = new URL(url);
 
     if (parsedUrl.searchParams.get('name') == null) {
       url = url.replace(/(\..+:).+/, "$1orig");