Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-05-11 03:50:45 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-05-12 02:45:36 +0300
commit07591c963cf91f32efb6f7739c53c91f6a4cae35 (patch)
treed1e95fe10d9c6b0f1b708e419430e935ef78c0f1 /js
parentdc21b81365366ebb82bf76ea4bce08e2a7038d97 (diff)
Replace .mouseenter() with .on()
.mouseenter() event shorthand is deprecated Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'js')
-rw-r--r--js/makegrid.js6
-rw-r--r--js/navigation.js4
2 files changed, 5 insertions, 5 deletions
diff --git a/js/makegrid.js b/js/makegrid.js
index a0764b5cfe..c9ca441775 100644
--- a/js/makegrid.js
+++ b/js/makegrid.js
@@ -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', {
diff --git a/js/navigation.js b/js/navigation.js
index 181ac848a2..7b95fec91b 100644
--- a/js/navigation.js
+++ b/js/navigation.js
@@ -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');
});