because it annoys @Carreau
@ -280,7 +280,7 @@ define([
}
// If there are no controls or the cell is a rendered TextCell hide the toolbar.
if (!this.ui_controls_list.length || (this.cell.cell_type != 'code' && this.cell.rendered)) {
if (!this.ui_controls_list.length) {
this.hide();
} else {
this.show();
@ -137,9 +137,6 @@ define([
this.refresh();
if (this.celltoolbar.ui_controls_list.length) {
this.celltoolbar.show();
return cont;
};
@ -180,7 +177,6 @@ define([
*/
TextCell.prototype.set_rendered = function(text) {
this.element.find('div.text_cell_render').html(text);
this.celltoolbar.hide();