r110018 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110017‎ | r110018 | r110019 >
Date:19:22, 25 January 2012
Author:gregchiasson
Status:ok
Tags:
Comment:
AFT5 - remove the debug statements I left in the JS
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js
@@ -143,7 +143,6 @@
144144 } );
145145
146146 $( '.articleFeedbackv5-comment-toggle' ).live( 'click', function( e ) {
147 -console.log('welp');
148147 $.articleFeedbackv5special.toggleComment( $.articleFeedbackv5special.stripID( this, 'articleFeedbackv5-comment-toggle-' ) );
149148 return false;
150149 } );
@@ -165,17 +164,14 @@
166165
167166 // {{{ toggleComment
168167 $.articleFeedbackv5special.toggleComment = function( id ) {
169 -console.log('id is ' + id);
170168 if( $( '#articleFeedbackv5-comment-toggle-' + id ).text()
171169 == mw.msg( 'articlefeedbackv5-comment-more' ) ) {
172 -console.log('show full');
173170 $( '#articleFeedbackv5-comment-short-' + id ).hide();
174171 $( '#articleFeedbackv5-comment-full-' + id ).show();
175172 $( '#articleFeedbackv5-comment-toggle-' + id ).text(
176173 mw.msg( 'articlefeedbackv5-comment-less' )
177174 );
178175 } else {
179 -console.log('show short');
180176 $( '#articleFeedbackv5-comment-short-' + id ).show();
181177 $( '#articleFeedbackv5-comment-full-' + id ).hide();
182178 $( '#articleFeedbackv5-comment-toggle-' + id ).text(

Status & tagging log