Index: trunk/extensions/ArticleFeedbackv5/modules/ext.articleFeedbackv5/ext.articleFeedbackv5.js |
— | — | @@ -116,9 +116,9 @@ |
117 | 117 | // C: Button fixed to right side |
118 | 118 | if ( 'C' == linkBucket ) { |
119 | 119 | var $fixedTab = $( '\ |
120 | | - <div id="articleFeedbackv5-fixedtab">\ |
121 | | - <div id="articleFeedbackv5-fixedtabbox">\ |
122 | | - <a href="#mw-articleFeedbackv5" id="articleFeedbackv5-fixedtablink"></a>\ |
| 120 | + <div id="articleFeedbackv5-fixedtab" class="articleFeedbackv5-fixedtab">\ |
| 121 | + <div id="articleFeedbackv5-fixedtabbox" class="articleFeedbackv5-fixedtabbox">\ |
| 122 | + <a href="#mw-articleFeedbackv5" id="articleFeedbackv5-fixedtablink" class="articleFeedbackv5-fixedtablink"></a>\ |
123 | 123 | </div>\ |
124 | 124 | </div>' ); |
125 | 125 | $fixedTab.find( '#articleFeedbackv5-fixedtablink' ) |
— | — | @@ -129,18 +129,15 @@ |
130 | 130 | clickFeedbackLink( $( e.target ) ); |
131 | 131 | } ); |
132 | 132 | $fixedTab.insertBefore( $aftDiv ); |
133 | | - $fixedTab.addClass( 'articleFeedbackv5-fixedtab' ); |
134 | | - $fixedTab.find( '#articleFeedbackv5-fixedtabbox' ).addClass( 'articleFeedbackv5-fixedtabbox' ); |
135 | | - $fixedTab.find( '#articleFeedbackv5-fixedtablink' ).addClass( 'articleFeedbackv5-fixedtablink' ); |
136 | 133 | $aftDiv.articleFeedbackv5( 'addToRemovalQueue', $fixedTab ); |
137 | 134 | } |
138 | 135 | |
139 | 136 | // D: Button fixed to bottom right |
140 | 137 | if ( 'D' == linkBucket ) { |
141 | 138 | var $bottomRightTab = $( '\ |
142 | | - <div id="articleFeedbackv5-bottomrighttab">\ |
143 | | - <div id="articleFeedbackv5-bottomrighttabbox">\ |
144 | | - <a href="#mw-articleFeedbackv5" id="articleFeedbackv5-bottomrighttablink"></a>\ |
| 139 | + <div id="articleFeedbackv5-bottomrighttab" class="articleFeedbackv5-bottomrighttab">\ |
| 140 | + <div id="articleFeedbackv5-bottomrighttabbox" class="articleFeedbackv5-bottomrighttabbox">\ |
| 141 | + <a href="#mw-articleFeedbackv5" id="articleFeedbackv5-bottomrighttablink" class="articleFeedbackv5-bottomrighttablink"></a>\ |
145 | 142 | </div>\ |
146 | 143 | </div>' ); |
147 | 144 | $bottomRightTab.find( '#articleFeedbackv5-bottomrighttablink' ) |
— | — | @@ -151,9 +148,6 @@ |
152 | 149 | clickFeedbackLink( $( e.target ) ); |
153 | 150 | } ); |
154 | 151 | $bottomRightTab.insertBefore( $aftDiv ); |
155 | | - $bottomRightTab.addClass( 'articleFeedbackv5-bottomrighttab' ); |
156 | | - $bottomRightTab.find( '#articleFeedbackv5-bottomrighttabbox' ).addClass( 'articleFeedbackv5-bottomrighttabbox' ); |
157 | | - $bottomRightTab.find( '#articleFeedbackv5-bottomrighttablink' ).addClass( 'articleFeedbackv5-bottomrighttablink' ); |
158 | 152 | $aftDiv.articleFeedbackv5( 'addToRemovalQueue', $bottomRightTab ); |
159 | 153 | } |
160 | 154 | |