Merge "Repair removeFromToolbar() to handle image buttons"

This commit is contained in:
jenkins-bot 2014-05-09 10:23:04 +00:00 committed by Gerrit Code Review
commit 887dcfcbc9

View file

@ -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