mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-28 02:00:34 +00:00
Merge "Repair removeFromToolbar() to handle image buttons"
This commit is contained in:
commit
887dcfcbc9
|
@ -158,7 +158,7 @@ api : {
|
|||
// Save for later checking if empty
|
||||
group = target;
|
||||
// Tool
|
||||
target += ' a[rel="' + data.tool + '"].tool';
|
||||
target = group + ' a[rel="' + data.tool + '"].tool, ' + group + ' img[rel="' + data.tool + '"].tool';
|
||||
}
|
||||
} else if ( typeof data.page === 'string' ) {
|
||||
// Booklet page
|
||||
|
|
Loading…
Reference in a new issue