Fix deprecated use of 'jQuery.fn.mouseenter()' shorthand event
The mouseenter event shorthand is deprecated in jQuery 3.0 and above. This patch updates the code to use the on() method instead to remove the deprecation warning. For more information about the deprecation of jQuery.fn.mouseenter(). Please refer [1]. [1] https://api.jquery.com/mouseenter/ Change-Id: I8b746184e6ab260ba0b0292989bd4078767e509e
This commit is contained in:
parent
7d44796eca
commit
6d34551c1c
@ -382,7 +382,7 @@ horizon.flat_network_topology = {
|
||||
this._portdata.port_margin = d.port_margin;
|
||||
this._portdata.left = 0;
|
||||
this._portdata.right = 0;
|
||||
$(this).mouseenter(function(e){
|
||||
$(this).on('mouseenter', function(e){
|
||||
e.stopPropagation();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user