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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new eb08f0c  There is no mbox element on this page. why is there an mbox 
element here?
eb08f0c is described below

commit eb08f0c5f9eec0a9c5ea8f128823815e97ca42ee
Author: Daniel Gruno <[email protected]>
AuthorDate: Fri Aug 9 13:49:14 2024 +0200

    There is no mbox element on this page. why is there an mbox element here?
---
 pysteve/www/htdocs/js/steve_stv.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/pysteve/www/htdocs/js/steve_stv.js 
b/pysteve/www/htdocs/js/steve_stv.js
index 9e90705..ed1a263 100644
--- a/pysteve/www/htdocs/js/steve_stv.js
+++ b/pysteve/www/htdocs/js/steve_stv.js
@@ -654,9 +654,6 @@ function castVotes(args) {
     issue = l.length > 1 ? l[l.length-2] : "";
     uid = l.length > 2 ? l[l.length-1] : "";
     var v = ballotChars.join(" ")
-    if (v.length == 0 && document.getElementById('mbox').value.length > 0) {
-        v = document.getElementById('mbox').value
-    }
     if (v == "") {
         v = "-"
     }
@@ -705,4 +702,4 @@ function initTouch() {
     document.addEventListener("touchmove", touchHandler, true);
     document.addEventListener("touchend", touchHandler, true);
     document.addEventListener("touchcancel", touchHandler, true);
-}
\ No newline at end of file
+}

Reply via email to