From 6f0864f9b73568f46d7f2019d8ae54cad5b67bc8 Mon Sep 17 00:00:00 2001
From: Federico Brigante <github@bfred.it>
Date: Tue, 28 May 2019 13:56:27 +0800
Subject: Update `element-ready`

---
 source/features/more-dropdown.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'source/features/more-dropdown.tsx')

diff --git a/source/features/more-dropdown.tsx b/source/features/more-dropdown.tsx
index 6fec9d1d..c8f9721c 100644
--- a/source/features/more-dropdown.tsx
+++ b/source/features/more-dropdown.tsx
@@ -1,11 +1,12 @@
 import './more-dropdown.css';
 import React from 'dom-chef';
 import select from 'select-dom';
+import elementReady from 'element-ready';
 import features from '../libs/features';
 import * as icons from '../libs/icons';
 import {getRepoURL} from '../libs/utils';
 import {isEnterprise} from '../libs/page-detect';
-import {appendBefore, safeElementReady} from '../libs/dom-utils';
+import {appendBefore} from '../libs/dom-utils';
 
 const repoUrl = getRepoURL();
 
@@ -25,7 +26,7 @@ function createDropdown(): void {
 }
 
 async function init(): Promise<void> {
-	await safeElementReady('.pagehead + *'); // Wait for the tab bar to be loaded
+	await elementReady('.pagehead + *'); // Wait for the tab bar to be loaded
 	if (!select.exists('.reponav-dropdown')) {
 		createDropdown();
 	}
-- 
cgit v1.2.3

