Don't append akismet message twice
This commit is contained in:
		| @ -22,7 +22,7 @@ async function register ({ registerHook, peertubeHelpers }) { | ||||
|       ipMessage.innerHTML = htmlWarning | ||||
|       ipMessage.style = 'margin: 10px 0; font-size: 0.9em;' | ||||
|  | ||||
|       if (document.querySelector(ipMessage.id)) return | ||||
|       if (document.getElementById(ipMessage.id)) return | ||||
|  | ||||
|       document.querySelector('my-video-comment-add .textarea-wrapper').append(ipMessage) | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user