diff --git a/modules/jquery.wikiEditor.toolbar.js b/modules/jquery.wikiEditor.toolbar.js index 02d20424..0d1ce0a3 100644 --- a/modules/jquery.wikiEditor.toolbar.js +++ b/modules/jquery.wikiEditor.toolbar.js @@ -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