Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js |
— | — | @@ -150,7 +150,7 @@ |
151 | 151 | target += ' div.pages div[rel=' + data.page + '].page'; |
152 | 152 | if ( typeof data.character == 'string' ) { |
153 | 153 | // Character |
154 | | - target += ' a[rel=' + data.character + ']'; |
| 154 | + target += ' span[rel=' + data.character + ']'; |
155 | 155 | } else if ( typeof data.row == 'number' ) { |
156 | 156 | // Table row |
157 | 157 | target += ' table tr:not(:has(th)):eq(' + data.row + ')'; |
Index: trunk/extensions/UsabilityInitiative/js/tests/wikiEditor.toolbar.js |
— | — | @@ -172,7 +172,7 @@ |
173 | 173 | 'page': 'emoticons', |
174 | 174 | 'character': ':))' |
175 | 175 | }, |
176 | | - 'test': '*[rel=info].section *[rel=emoticons].page a[rel=":))"]', |
| 176 | + 'test': '*[rel=info].section *[rel=emoticons].page *[rel=":))"]', |
177 | 177 | 'pre': 1, |
178 | 178 | 'post': 0 |
179 | 179 | }, |