From aa600aec5e1840f2bab9b11c4609853d78b6aebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mu-An=20=E2=9C=8C=EF=B8=8F=20Chiou?= Date: Tue, 4 Sep 2018 21:11:14 -0400 Subject: [PATCH] Fixes #13, sometimes deferred content is already there --- dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard.js b/dashboard.js index a28f610..5852159 100644 --- a/dashboard.js +++ b/dashboard.js @@ -105,7 +105,7 @@ function init () { details.appendChild(summary) details.appendChild(container) - const newDashboard = document.querySelector('.page-responsive [data-src*="/dashboard/recent-activity"]') + const newDashboard = document.querySelector('.page-responsive [data-src*="/dashboard/recent-activity"], .js-recent-activity-container') if (newDashboard) { newDashboard.after(details) } else {