Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js |
— | — | @@ -340,7 +340,7 @@ |
341 | 341 | 'afanontoken': userrating ? mw.user.id() : '', |
342 | 342 | 'afuserrating': Number( userrating ), |
343 | 343 | 'maxage': 0, |
344 | | - 'smaxage': mw.config.get( 'wgArticleFeedbackSMaxage' ) |
| 344 | + 'smaxage': userrating ? 0 : mw.config.get( 'wgArticleFeedbackSMaxage' ) |
345 | 345 | }, |
346 | 346 | 'success': function( data ) { |
347 | 347 | var context = this; |