# HG changeset patch # User jbe # Date 1352385103 -3600 # Node ID 46275b784974fe48297d2fdd54592e1c3d8fe77f # Parent c328da62f45c44d4000bd7e201003302b0efcb76 Functions voting_moveUp/Down explicitly global diff -r c328da62f45c -r 46275b784974 static/js/voting.js --- a/static/js/voting.js Thu Nov 08 15:16:17 2012 +0100 +++ b/static/js/voting.js Thu Nov 08 15:31:43 2012 +0100 @@ -352,10 +352,10 @@ } }); }, false); - function voting_moveUp(element) { + window.voting_moveUp = function(element) { return voting_move(element, true); } - function voting_moveDown(element) { + window.voting_moveDown = function(element) { return voting_move(element, false); } });