r85580 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85579‎ | r85580 | r85581 >
Date:21:35, 6 April 2011
Author:tparscal
Status:resolved (Comments)
Tags:
Comment:
Removed some superfluous end() calls.
Modified paths:
  • /trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js
@@ -285,8 +285,7 @@
286286 .find( '.articleFeedback-rating-count' )
287287 .text(
288288 mw.msg( 'articlefeedback-report-ratings', rating.countall )
289 - )
290 - .end();
 289+ );
291290 } else {
292291 // Special case for no ratings
293292 $(this)
@@ -298,7 +297,6 @@
299298 .end()
300299 .find( '.articleFeedback-rating-count' )
301300 .text( mw.msg( 'articlefeedback-report-empty' ) )
302 - .end();
303301 }
304302 // Form
305303 if ( rating !== null && typeof rating.userrating !== 'undefined' ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r85961Fixed missing semicolon (see r85580)tparscal17:30, 13 April 2011

Comments

#Comment by Catrope (talk | contribs)   20:36, 12 April 2011
 									.text( mw.msg( 'articlefeedback-report-empty' ) )
-									.end();

Missing semicolon.

Status & tagging log