Issue #3023966 by Karan Sen, eblue, pawandubey, andrewmacpherson: Remove unnecessary title attribute from show-row-weights button
parent
bdfafab7fb
commit
9096cb6b81
|
@ -229,10 +229,6 @@
|
|||
// Add a link before the table for users to show or hide weight columns.
|
||||
$table.before(
|
||||
$('<button type="button" class="link tabledrag-toggle-weight"></button>')
|
||||
.attr(
|
||||
'title',
|
||||
Drupal.t('Re-order rows by numerical weight instead of dragging.'),
|
||||
)
|
||||
.on(
|
||||
'click',
|
||||
$.proxy(function(e) {
|
||||
|
|
|
@ -86,7 +86,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|||
self.makeDraggable(this);
|
||||
});
|
||||
|
||||
$table.before($('<button type="button" class="link tabledrag-toggle-weight"></button>').attr('title', Drupal.t('Re-order rows by numerical weight instead of dragging.')).on('click', $.proxy(function (e) {
|
||||
$table.before($('<button type="button" class="link tabledrag-toggle-weight"></button>').on('click', $.proxy(function (e) {
|
||||
e.preventDefault();
|
||||
this.toggleColumns();
|
||||
}, this)).wrap('<div class="tabledrag-toggle-weight-wrapper"></div>').parent());
|
||||
|
|
|
@ -301,7 +301,6 @@ class MediaLibraryWidget extends WidgetBase implements ContainerFactoryPluginInt
|
|||
'media-library-widget__toggle-weight',
|
||||
'js-media-library-widget-toggle-weight',
|
||||
],
|
||||
'title' => $this->t('Re-order media by numerical weight instead of dragging'),
|
||||
],
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue