liquid_feedback_frontend
changeset 947:46275b784974
Functions voting_moveUp/Down explicitly global
author | jbe |
---|---|
date | Thu Nov 08 15:31:43 2012 +0100 (2012-11-08) |
parents | c328da62f45c |
children | bb8b21241dab |
files | static/js/voting.js |
line diff
1.1 --- a/static/js/voting.js Thu Nov 08 15:16:17 2012 +0100 1.2 +++ b/static/js/voting.js Thu Nov 08 15:31:43 2012 +0100 1.3 @@ -352,10 +352,10 @@ 1.4 } 1.5 }); 1.6 }, false); 1.7 - function voting_moveUp(element) { 1.8 + window.voting_moveUp = function(element) { 1.9 return voting_move(element, true); 1.10 } 1.11 - function voting_moveDown(element) { 1.12 + window.voting_moveDown = function(element) { 1.13 return voting_move(element, false); 1.14 } 1.15 });