From 06a711c58882cbcb7383b2058e727489f647e2c9 Mon Sep 17 00:00:00 2001 From: Maxim Mig Date: Wed, 9 Sep 2020 10:26:16 +0200 Subject: [PATCH] Added placeholder animation to clone.html --- popups/clone.html | 39 ++++++++++++++++++++++++++++++++++++++- popups/clone.js | 1 + 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/popups/clone.html b/popups/clone.html index 13d313c..c1ac5b9 100644 --- a/popups/clone.html +++ b/popups/clone.html @@ -5,6 +5,12 @@ Open project in JetBrains IDEs @@ -139,7 +168,15 @@ value="SSH" > -
+
+
+
+
+
+
+
+
+
diff --git a/popups/clone.js b/popups/clone.js index 02bf2d8..26d42e4 100644 --- a/popups/clone.js +++ b/popups/clone.js @@ -78,6 +78,7 @@ chrome.tabs.query({active: true, currentWindow: true}, tabs => { tools.forEach(tool => { fragment.append(createOpenToolAction(tool, query.project, query.https, query.ssh)); }); + document.querySelector('.js-tool-action-placeholder').remove(); document.querySelector('.js-tool-actions').append(fragment); }); });