mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-27 09:42:11 +00:00
Merged in changes from r73123
This commit is contained in:
parent
a9c45c88e0
commit
8be53e71af
|
@ -150,7 +150,7 @@ api : {
|
|||
target += ' div.pages div[rel=' + data.page + '].page';
|
||||
if ( typeof data.character == 'string' ) {
|
||||
// Character
|
||||
target += ' a[rel=' + data.character + ']';
|
||||
target += ' span[rel=' + data.character + ']';
|
||||
} else if ( typeof data.row == 'number' ) {
|
||||
// Table row
|
||||
target += ' table tr:not(:has(th)):eq(' + data.row + ')';
|
||||
|
|
|
@ -172,7 +172,7 @@ var wikiEditorTests = {
|
|||
'page': 'emoticons',
|
||||
'character': ':))'
|
||||
},
|
||||
'test': '*[rel=info].section *[rel=emoticons].page a[rel=":))"]',
|
||||
'test': '*[rel=info].section *[rel=emoticons].page *[rel=":))"]',
|
||||
'pre': 1,
|
||||
'post': 0
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue