From d1b49be7a1797592df4c0bf60438652277a2aa60 Mon Sep 17 00:00:00 2001 From: HighImKevin Date: Thu, 13 Nov 2025 05:53:03 -0500 Subject: [PATCH] Update updoot comment button class name --- updoot.js | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/updoot.js b/updoot.js index 474d872..cc97523 100644 --- a/updoot.js +++ b/updoot.js @@ -138,15 +138,7 @@ const addCommentButton = document.createElement('button'); addCommentButton.textContent = '+ Add Comment'; - addCommentButton.style.cssText = ` - background: #4CAF50; - color: white; - border: none; - padding: 8px 16px; - border-radius: 4px; - cursor: pointer; - margin-bottom: 10px; - `; + addCommentButton.className = "btnAddComment button-submit emby-button button-flat show-focus"; addCommentButton.addEventListener('click', () => { console.log('Add Comment button clicked'); if (!userId) { @@ -683,7 +675,7 @@ document.body.appendChild(overlay); const closeButton = document.createElement('button'); - closeButton.innerHTML = 'close'; + closeButton.innerHTML = ''; closeButton.style.cssText = ` position: absolute; top: 10px; @@ -850,7 +842,7 @@ } const closeButton = document.createElement('button'); - closeButton.innerHTML = 'close'; + closeButton.innerHTML = ''; closeButton.style.cssText = ` position: absolute; top: 10px; @@ -883,7 +875,7 @@ adminOverlay.innerHTML = ''; const closeButton = document.createElement('button'); - closeButton.innerHTML = 'close'; + closeButton.innerHTML = ''; closeButton.style.cssText = ` position: absolute; top: 10px;