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 2015/10/12 12:06:23 UTC
svn commit: r1708074 - /steve/trunk/pysteve/www/htdocs/js/steve_stv.js
Author: humbedooh
Date: Mon Oct 12 10:06:22 2015
New Revision: 1708074
URL: http://svn.apache.org/viewvc?rev=1708074&view=rev
Log:
fix bad names in JS DOM work
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=1708074&r1=1708073&r2=1708074&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_stv.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_stv.js Mon Oct 12 10:06:22 2015
@@ -197,13 +197,13 @@ function drawCandidates() {
var seconds = document.createElement('div')
seconds.setAttribute("class", "statement_marker")
seconds.setAttribute("title", "Click to read " + name + "'s nomination and/or seconds")
- seconds.innerHTML = "<a href='#statement_"+char+"'>2nds</a>"
+ seconds.innerHTML = "<a href='#seconds_"+char+"'>2nds</a>"
- outer.appendChild(statement)
+ outer.appendChild(seconds)
var popup = document.createElement("div")
popup.setAttribute("class", "modal")
- popup.setAttribute("id", "statement_" + char)
+ popup.setAttribute("id", "seconds_" + char)
popup.setAttribute("aria-hidden", "true")
var popupd = document.createElement("div")