mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 08:14:33 +00:00
jquery.wikiEditor.toolbar: Clean up target variable
Follows-up 5667dfcd54
.
Change-Id: Ib2365aa6ab626717d346ab2e299c174bebfff506
This commit is contained in:
parent
887dcfcbc9
commit
b965e0af4f
|
@ -158,7 +158,7 @@ api : {
|
||||||
// Save for later checking if empty
|
// Save for later checking if empty
|
||||||
group = target;
|
group = target;
|
||||||
// Tool
|
// Tool
|
||||||
target = group + ' a[rel="' + data.tool + '"].tool, ' + group + ' img[rel="' + data.tool + '"].tool';
|
target = target + ' a[rel="' + data.tool + '"].tool, ' + target + ' img[rel="' + data.tool + '"].tool';
|
||||||
}
|
}
|
||||||
} else if ( typeof data.page === 'string' ) {
|
} else if ( typeof data.page === 'string' ) {
|
||||||
// Booklet page
|
// Booklet page
|
||||||
|
|
Loading…
Reference in a new issue