Skip to content

Commit f2f9237

Browse files
committed
Remove cell toolbar reminder
1 parent 2b2d321 commit f2f9237

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

notebook/static/notebook/js/maintoolbar.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -63,27 +63,6 @@ define([
6363

6464
MainToolBar.prototype._pseudo_actions = {};
6565

66-
67-
// reminder of where the celltoolbar new menu is, remove for 5.0
68-
MainToolBar.prototype._pseudo_actions.add_celltoolbar_reminder = function () {
69-
var _b = $('<button/>').attr('title','show new celltoolbar selector location').addClass('btn btn-default').text('CellToolbar')
70-
var btn = $('<div/>').addClass('btn-group').append(_b)
71-
72-
_b.on('click', function(){
73-
setTimeout(function(){$('#view_menu').parent().addClass('pulse')},0)
74-
setTimeout(function(){$('#view_menu').parent().addClass('open')},1000)
75-
setTimeout(function(){$('#menu-cell-toolbar').children('a').addClass('pulse')},2000)
76-
setTimeout(function(){$('#menu-cell-toolbar').children('ul').css('display','block')},3000)
77-
setTimeout(function(){$('#menu-cell-toolbar').children('ul').css('display','')},5400)
78-
setTimeout(function(){$('#menu-cell-toolbar').children('a').removeClass('pulse')},5600)
79-
setTimeout(function(){$('#view_menu').parent().removeClass('open')},5800)
80-
setTimeout(function(){$('#view_menu').parent().removeClass('pulse')},6000)
81-
})
82-
83-
return btn;
84-
};
85-
86-
8766
// add a cell type drop down to the maintoolbar.
8867
// triggered when the pseudo action `<add_celltype_list>` is
8968
// encountered when building a toolbar.

0 commit comments

Comments
 (0)