Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js |
— | — | @@ -143,7 +143,6 @@ |
144 | 144 | } ); |
145 | 145 | |
146 | 146 | $( '.articleFeedbackv5-comment-toggle' ).live( 'click', function( e ) { |
147 | | -console.log('welp'); |
148 | 147 | $.articleFeedbackv5special.toggleComment( $.articleFeedbackv5special.stripID( this, 'articleFeedbackv5-comment-toggle-' ) ); |
149 | 148 | return false; |
150 | 149 | } ); |
— | — | @@ -165,17 +164,14 @@ |
166 | 165 | |
167 | 166 | // {{{ toggleComment |
168 | 167 | $.articleFeedbackv5special.toggleComment = function( id ) { |
169 | | -console.log('id is ' + id); |
170 | 168 | if( $( '#articleFeedbackv5-comment-toggle-' + id ).text() |
171 | 169 | == mw.msg( 'articlefeedbackv5-comment-more' ) ) { |
172 | | -console.log('show full'); |
173 | 170 | $( '#articleFeedbackv5-comment-short-' + id ).hide(); |
174 | 171 | $( '#articleFeedbackv5-comment-full-' + id ).show(); |
175 | 172 | $( '#articleFeedbackv5-comment-toggle-' + id ).text( |
176 | 173 | mw.msg( 'articlefeedbackv5-comment-less' ) |
177 | 174 | ); |
178 | 175 | } else { |
179 | | -console.log('show short'); |
180 | 176 | $( '#articleFeedbackv5-comment-short-' + id ).show(); |
181 | 177 | $( '#articleFeedbackv5-comment-full-' + id ).hide(); |
182 | 178 | $( '#articleFeedbackv5-comment-toggle-' + id ).text( |