You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2016/02/25 14:53:26 UTC
svn commit: r1732305 - /steve/trunk/pysteve/www/htdocs/js/steve_stv.js
Author: humbedooh
Date: Thu Feb 25 13:53:26 2016
New Revision: 1732305
URL: http://svn.apache.org/viewvc?rev=1732305&view=rev
Log:
ensure that even if we have 100 candidates, we can still drag'n'drop them to the right by expanding the drop zone accordingly
Modified:
steve/trunk/pysteve/www/htdocs/js/steve_stv.js
Modified: steve/trunk/pysteve/www/htdocs/js/steve_stv.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_stv.js?rev=1732305&r1=1732304&r2=1732305&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_stv.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_stv.js Thu Feb 25 13:53:26 2016
@@ -234,6 +234,7 @@ function drawCandidates() {
box.appendChild(outer)
}
+ document.getElementById('ballotbox').style.height = box.offsetHeight + "px"
}
// Did we drop a vote on top of another?