mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°3657 - Replace calls to deprecate jQuery methods (".click(callback)" to ".on('click', callback)")
This commit is contained in:
@@ -32,7 +32,7 @@ $(function()
|
||||
|
||||
this.closeBox = $('<div class="ibo-dashlet--delete close-box"/>').append('<i class="fas fa-trash ibo-button--icon"></i>');
|
||||
this.closeBox
|
||||
.click(function() { me._remove_dashlet(); })
|
||||
.on('click', function() { me._remove_dashlet(); })
|
||||
.prependTo(this.element);
|
||||
if (this.element.hasClass('dashlet-selected'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user