Index: branches/wmf/1.19wmf1/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js |
— | — | @@ -671,7 +671,7 @@ |
672 | 672 | // the user has rejected this within 3 days of right now |
673 | 673 | var display = $.cookie( prefix( 'pitch-' + key ) ); |
674 | 674 | if ( display !== 'hide' && context.options.pitches[key].condition() ) { |
675 | | - var weight = 'weight' in pitches ? pitches.weight : 1; |
| 675 | + var weight = 'weight' in context.options.pitches[key] ? pitches.weight : 1; |
676 | 676 | for ( var i = 0; i < weight; i++ ) { |
677 | 677 | pitches.push( key ); |
678 | 678 | } |