From 95ae195b437fa5a9e4851e591a3fd4168bf2fcbf Mon Sep 17 00:00:00 2001 From: blank X Date: Fri, 7 Jan 2022 16:58:21 +0700 Subject: [PATCH] Fix blank Applies to text for imported redirects --- js/importexport.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/importexport.js b/js/importexport.js index c3e79dd..705efa7 100644 --- a/js/importexport.js +++ b/js/importexport.js @@ -49,7 +49,7 @@ function importRedirects(ev) { if (REDIRECTS.some(function(i) { return new Redirect(i).equals(r);})) { existing++; } else { - REDIRECTS.push(r.toObject()); + REDIRECTS.push(r); imported++; } } @@ -93,4 +93,4 @@ function setupImportExportEventListeners() { el("#export-link").addEventListener('mousedown', updateExportLink); } -setupImportExportEventListeners(); \ No newline at end of file +setupImportExportEventListeners();