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:08:06 UTC
svn commit: r1708075 - /steve/trunk/pysteve/www/htdocs/js/steve_stv.js
Author: humbedooh
Date: Mon Oct 12 10:08:06 2015
New Revision: 1708075
URL: http://svn.apache.org/viewvc?rev=1708075&view=rev
Log:
style and use the proper var for fetching data, so it doesn't appear empty
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=1708075&r1=1708074&r2=1708075&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:08:06 2015
@@ -196,6 +196,8 @@ function drawCandidates() {
if (seconds_txt[char]) {
var seconds = document.createElement('div')
seconds.setAttribute("class", "statement_marker")
+ seconds.style.float = 'right'
+ seconds.style.paddingLeft = '4px'
seconds.setAttribute("title", "Click to read " + name + "'s nomination and/or seconds")
seconds.innerHTML = "<a href='#seconds_"+char+"'>2nds</a>"
@@ -216,7 +218,7 @@ function drawCandidates() {
var popupb = document.createElement("div")
popupb.setAttribute("class", "modal-body")
- popupb.innerHTML = '<pre>' + (seconds[char] ? seconds[char] : "This candidate does not have a nomination statement") +'</pre>'
+ popupb.innerHTML = '<pre>' + (seconds_txt[char] ? seconds_txt[char] : "This candidate does not have a nomination statement") +'</pre>'
var popupf = document.createElement("div")
popupf.setAttribute("class", "modal-footer")