https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114176
Revision: 114176
Author: catrope
Date: 2012-03-19 20:06:17 +0000 (Mon, 19 Mar 2012)
Log Message:
-----------
1.19wmf1: MFT r114174
Modified Paths:
--------------
branches/wmf/1.19wmf1/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js
Modified:
branches/wmf/1.19wmf1/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js
===================================================================
---
branches/wmf/1.19wmf1/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js
2012-03-19 20:05:11 UTC (rev 114175)
+++
branches/wmf/1.19wmf1/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js
2012-03-19 20:06:17 UTC (rev 114176)
@@ -671,7 +671,7 @@
// the user has
rejected this within 3 days of right now
var display = $.cookie(
prefix( 'pitch-' + key ) );
if ( display !== 'hide'
&& context.options.pitches[key].condition() ) {
- var weight =
'weight' in context.options.pitches[key] ? pitches.weight : 1;
+ var weight =
'weight' in context.options.pitches[key] ? context.options.pitches[key].weight
: 1;
for ( var i =
0; i < weight; i++ ) {
pitches.push( key );
}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs