Replace .mouseenter() with .on()
.mouseenter() event shorthand is deprecated Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
This commit is contained in:
parent
dc21b81365
commit
07591c963c
@ -1588,7 +1588,7 @@ function PMA_makegrid (t, enableResize, enableReorder, enableVisib, enableGridEd
|
||||
g.dragStartReorder(e, this);
|
||||
}
|
||||
})
|
||||
.mouseenter(function () {
|
||||
.on('mouseenter', function () {
|
||||
if (g.visibleHeadersCount > 1) {
|
||||
$(this).css('cursor', 'move');
|
||||
} else {
|
||||
@ -1738,7 +1738,7 @@ function PMA_makegrid (t, enableResize, enableReorder, enableVisib, enableGridEd
|
||||
}
|
||||
|
||||
// hide column visibility list if we move outside the list
|
||||
$(g.t).find('td, th.draggable').mouseenter(function () {
|
||||
$(g.t).find('td, th.draggable').on('mouseenter', function () {
|
||||
g.hideColList();
|
||||
});
|
||||
|
||||
@ -2202,7 +2202,7 @@ function PMA_makegrid (t, enableResize, enableReorder, enableVisib, enableGridEd
|
||||
|
||||
// register events for hint tooltip (anchors inside draggable th)
|
||||
$(t).find('th.draggable a')
|
||||
.mouseenter(function () {
|
||||
.on('mouseenter', function () {
|
||||
g.showSortHint = true;
|
||||
g.showMultiSortHint = true;
|
||||
$(t).find('th.draggable').tooltip('option', {
|
||||
|
||||
@ -1618,7 +1618,7 @@ PMA_fastFilter.filter.prototype.restore = function (focus) {
|
||||
* @return void
|
||||
*/
|
||||
function PMA_showFullName ($containerELem) {
|
||||
$containerELem.find('.hover_show_full').mouseenter(function () {
|
||||
$containerELem.find('.hover_show_full').on('mouseenter', function () {
|
||||
/** mouseenter */
|
||||
var $this = $(this);
|
||||
var thisOffset = $this.offset();
|
||||
@ -1635,7 +1635,7 @@ function PMA_showFullName ($containerELem) {
|
||||
/** mouseleave */
|
||||
$(this).addClass('hide')
|
||||
.removeClass('hovering');
|
||||
}).mouseenter(function () {
|
||||
}).on('mouseenter', function () {
|
||||
/** mouseenter */
|
||||
$(this).addClass('hovering');
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user