File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88// @contributor J F
99// @contributor Glorfindel
1010// @attribution Brock Adams (https://github.com/BrockA)
11- // @version 1.20.3
11+ // @version 1.20.4
1212// @updateURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.meta.js
1313// @downloadURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.user.js
1414// @supportURL https://github.com/Charcoal-SE/Userscripts/issues
Original file line number Diff line number Diff line change 88// @contributor J F
99// @contributor Glorfindel
1010// @attribution Brock Adams (https://github.com/BrockA)
11- // @version 1.20.3
11+ // @version 1.20.4
1212// @updateURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.meta.js
1313// @downloadURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.user.js
1414// @supportURL https://github.com/Charcoal-SE/Userscripts/issues
348348 // Retrieve feedback
349349 $ . get ( "https://metasmoke.erwaysoftware.com/api/v2.0/feedbacks/post/" + data_ [ 0 ] . id +
350350 "?key=" + fdsc . metasmokeKey , function ( data ) {
351- console . log ( data ) ;
352351 // Determine # of feedbacks for each type
353352 var tps = 0 ;
354353 var fps = 0 ;
355354 var naa = 0 ;
356355 for ( var i = 0 ; i < data . items . length ; i ++ ) {
357- switch ( data . items [ 0 ] . feedback_type . charAt ( 0 ) ) {
356+ switch ( data . items [ i ] . feedback_type . charAt ( 0 ) ) {
358357 case "t" :
359358 tps ++ ;
360359 break ;
You can’t perform that action at this time.
0 commit comments