Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62393a88 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

hide div

parent 46742319
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -7,12 +7,12 @@ document.body.onload = function() {
		// eslint-disable-next-line no-console
		console.log(iframe.contentWindow.document.body.innerHTML)
		setTimeout(() => {
			const deleteButton = iframeDoc.querySelectorAll('span')
			const deleteButton = iframeDoc.querySelectorAll('.delete-identity')
			// eslint-disable-next-line no-console
			console.log(deleteButton.length)
			if (deleteButton) {
				deleteButton.style.display = 'none'
			}
			deleteButton.forEach((deleteButton1) => {
				deleteButton1.style.display = "none";
			  })
		  }, 10000)

	})