From 4b825eaa58a9bd9498373db49371001cd8a45020 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 19 Nov 2015 01:18:15 +0300 Subject: [PATCH] only opera works properly quelle surprise --- js/uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/uploader.js b/js/uploader.js index 7e50654..52b69b9 100644 --- a/js/uploader.js +++ b/js/uploader.js @@ -13,7 +13,7 @@ if (!XMLHttpRequest.prototype.sendAsBinary) { var settingsToSave = ['tags', 'source']; var checkboxesToSave = ['forceRating', 'ratingAsDefault', 'setSafe', 'setQuest', 'setExplicit', 'forceTags', 'addTags', 'title']; -var myTags = (GetCookie('tags')||[]).split(' '); +var myTags = (GetCookie('tags')||'').replace(/%2520/gi,' ').replace(/%20/gi,' ').split(/\s+/); if (myTags.length) { $show('mytags'); var tagsArea = '';