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/05 18:12:07 UTC

svn commit: r1728716 - /steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Author: humbedooh
Date: Fri Feb  5 17:12:07 2016
New Revision: 1728716

URL: http://svn.apache.org/viewvc?rev=1728716&view=rev
Log:
fix the JS call

Modified:
    steve/trunk/pysteve/www/htdocs/js/steve_rest.js

Modified: steve/trunk/pysteve/www/htdocs/js/steve_rest.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_rest.js?rev=1728716&r1=1728715&r2=1728716&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_rest.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_rest.js Fri Feb  5 17:12:07 2016
@@ -874,7 +874,7 @@ function renderElectionFrontpage(respons
         par.appendChild(btn)
         var p = document.createElement('p')
         p.innerHTML = "Click on an issue to start voting. As this election has more than one yes/no vote, we have placed a button at the bottom of this page for batch-voting on these issues."
-        par.insertAfter(p, title)
+        par.insertBefore(p, title.nextSibling)
     }
     
     if (response.base_data.monitors && response.base_data.monitors.length > 0) {