Skip to content

Commit 70b0c73

Browse files
committed
Fixed a bug
1 parent 3991a39 commit 70b0c73

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

notebook/static/notebook/js/notebook.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ define([
12121212
// This will put all the deleted cells back in one location, rather than
12131213
// where they came from. It will do until we have proper undo support.
12141214
undelete_backup.index = cursor_ix_after;
1215-
$('#undelete_cell').removeClass('disabled').removeAttr("aria-label");
1215+
$('#undelete_cell').removeClass('disabled');
12161216

12171217
this.undelete_backup_stack.push(undelete_backup);
12181218
this.set_dirty(true);
@@ -1617,13 +1617,13 @@ define([
16171617
if (!this.paste_enabled) {
16181618
$('#paste_cell_replace').removeClass('disabled')
16191619
.on('click', function () {that.keyboard_manager.actions.call(
1620-
'jupyter-notebook:paste-cell-replace');}).removeAttr("aria-label");
1620+
'jupyter-notebook:paste-cell-replace');});
16211621
$('#paste_cell_above').removeClass('disabled')
16221622
.on('click', function () {that.keyboard_manager.actions.call(
1623-
'jupyter-notebook:paste-cell-above');}).removeAttr("aria-label");
1623+
'jupyter-notebook:paste-cell-above');});
16241624
$('#paste_cell_below').removeClass('disabled')
16251625
.on('click', function () {that.keyboard_manager.actions.call(
1626-
'jupyter-notebook:paste-cell-below');}).removeAttr("aria-label");
1626+
'jupyter-notebook:paste-cell-below');});
16271627
this.paste_enabled = true;
16281628
}
16291629
};
@@ -1933,7 +1933,7 @@ define([
19331933
*/
19341934
Notebook.prototype.enable_attachments_paste = function () {
19351935
if (!this.paste_attachments_enabled) {
1936-
$('#paste_cell_attachments').removeClass('disabled').removeAttr("aria-label");
1936+
$('#paste_cell_attachments').removeClass('disabled');
19371937
this.paste_attachments_enabled = true;
19381938
}
19391939
};
@@ -1943,7 +1943,7 @@ define([
19431943
*/
19441944
Notebook.prototype.set_insert_image_enabled = function(enabled) {
19451945
if (enabled) {
1946-
$('#insert_image').removeClass('disabled').removeAttr("aria-label");
1946+
$('#insert_image').removeClass('disabled');
19471947
} else {
19481948
$('#insert_image').addClass('disabled');
19491949
}

0 commit comments

Comments
 (0)