Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js |
— | — | @@ -117,8 +117,8 @@ |
118 | 118 | } ); |
119 | 119 | |
120 | 120 | $( '.articleFeedbackv5-sort-link' ).bind( 'click', function( e ) { |
121 | | - id = $.articleFeedbackv5special.stripID( this, 'articleFeedbackv5-special-sort-' ); |
122 | | - oldId = $.articleFeedbackv5special.listControls.sort; |
| 121 | + var id = $.articleFeedbackv5special.stripID( this, 'articleFeedbackv5-special-sort-' ), |
| 122 | + oldId = $.articleFeedbackv5special.listControls.sort; |
123 | 123 | |
124 | 124 | // set direction = desc... |
125 | 125 | $.articleFeedbackv5special.listControls.sort = id; |
— | — | @@ -144,7 +144,7 @@ |
145 | 145 | } ); |
146 | 146 | |
147 | 147 | $( '.articleFeedbackv5-permalink' ).live( 'click', function( e ) { |
148 | | - id = $.articleFeedbackv5special.stripID( this, 'articleFeedbackv5-permalink-' ); |
| 148 | + var id = $.articleFeedbackv5special.stripID( this, 'articleFeedbackv5-permalink-' ); |
149 | 149 | $.articleFeedbackv5special.listControls.filter = 'id'; |
150 | 150 | $.articleFeedbackv5special.listControls.filterValue = id; |
151 | 151 | $.articleFeedbackv5special.listControls.continue = null; |
— | — | @@ -252,8 +252,8 @@ |
253 | 253 | // {{{ drawSortArrow |
254 | 254 | |
255 | 255 | $.articleFeedbackv5special.drawSortArrow = function() { |
256 | | - id = $.articleFeedbackv5special.listControls.sort; |
257 | | - dir = $.articleFeedbackv5special.listControls.sortDirection; |
| 256 | + var id = $.articleFeedbackv5special.listControls.sort, |
| 257 | + dir = $.articleFeedbackv5special.listControls.sortDirection; |
258 | 258 | |
259 | 259 | $( '.articleFeedbackv5-sort-arrow' ).hide(); |
260 | 260 | $( '.articleFeedbackv5-sort-link' ).removeClass( 'sort-active' ); |