Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Fixes #13, sometimes deferred content is already there
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed Sep 5, 2018
1 parent cf9a407 commit aa600ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aa600ae

Please sign in to comment.