From de09b9a410672b7f7ec0859ab3eb2b01928c1c3c Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 21 Apr 2020 15:02:58 +0000 Subject: [PATCH] ace2_inner: reformatting, no functional changes --- src/static/js/pad_impexp.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/static/js/pad_impexp.js b/src/static/js/pad_impexp.js index ceb363b31..a72c42bba 100644 --- a/src/static/js/pad_impexp.js +++ b/src/static/js/pad_impexp.js @@ -248,7 +248,12 @@ var padimpexp = (function() { importFailed(status); } - if(directDatabaseAccess) pad.switchToPad(clientVars.padId); + + if (directDatabaseAccess) { + // Switch to the pad without redrawing the page + pad.switchToPad(clientVars.padId); + } + importDone(); }, disable: function()