Merge pull request #2331 from gnestor/celltoolbar-reminder

Remove cell toolbar reminder
Thomas Kluyver 9 years ago committed by GitHub
commit ece0a777d5

@ -63,27 +63,6 @@ define([
MainToolBar.prototype._pseudo_actions = {};
// reminder of where the celltoolbar new menu is, remove for 5.0
MainToolBar.prototype._pseudo_actions.add_celltoolbar_reminder = function () {
var _b = $('<button/>').attr('title','show new celltoolbar selector location').addClass('btn btn-default').text('CellToolbar')
var btn = $('<div/>').addClass('btn-group').append(_b)
_b.on('click', function(){
setTimeout(function(){$('#view_menu').parent().addClass('pulse')},0)
setTimeout(function(){$('#view_menu').parent().addClass('open')},1000)
setTimeout(function(){$('#menu-cell-toolbar').children('a').addClass('pulse')},2000)
setTimeout(function(){$('#menu-cell-toolbar').children('ul').css('display','block')},3000)
setTimeout(function(){$('#menu-cell-toolbar').children('ul').css('display','')},5400)
setTimeout(function(){$('#menu-cell-toolbar').children('a').removeClass('pulse')},5600)
setTimeout(function(){$('#view_menu').parent().removeClass('open')},5800)
setTimeout(function(){$('#view_menu').parent().removeClass('pulse')},6000)
})
return btn;
};
// add a cell type drop down to the maintoolbar.
// triggered when the pseudo action `<add_celltype_list>` is
// encountered when building a toolbar.

Loading…
Cancel
Save