Scripts:Animepage:Sourcecode1: Difference between revisions

Jump to navigation Jump to search
Fix for recent site changes which broke decimal vote
m (Firefox Script:Sourcecode1 moved to Scripts:Animepage:Sourcecode1)
(Fix for recent site changes which broke decimal vote)
 
Line 121: Line 121:
   function decimal_vote() {
   function decimal_vote() {
       // replace vote-dropdowns with textfields
       // replace vote-dropdowns with textfields
       var selects = document.evaluate("//select[../input[@name = 'votea.tmpratenow' or @name = 'votea.ratenow']]", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
       var selects = document.evaluate("//select[@name = 'votea.rate']", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
       for (var i = 0; i < selects.snapshotLength; i++) {
       for (var i = 0; i < selects.snapshotLength; i++) {
         var textfield = document.createElement('input');
         var textfield = document.createElement('input');
3

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.