This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit ff3e75ff6ad0981d399dfb30d9c98b5760824abe
Author: Greg Stein <[email protected]>
AuthorDate: Sat Feb 21 21:27:04 2026 -0600

    refactor: use showModal utility for STV modal
    
    Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <[email protected]>
---
 v3/server/templates/vote-on.ezt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/v3/server/templates/vote-on.ezt b/v3/server/templates/vote-on.ezt
index 2fe4457..bf14ec5 100644
--- a/v3/server/templates/vote-on.ezt
+++ b/v3/server/templates/vote-on.ezt
@@ -383,8 +383,7 @@
     updateRankNumbers();
     initSortable();
 
-    const modal = 
bootstrap.Modal.getOrCreate(document.getElementById('stvModal'));
-    modal.show();
+    showModal('stvModal');
   };
 
   function makeItem(candidate, rank) {

Reply via email to