Merge pull request #67 from guestisp/remove-hover

Remove the use of depcreated .hover() method
This commit is contained in:
Rene Haas
2018-10-23 12:58:29 +02:00
committed by GitHub
+2 -2
View File
@@ -3313,12 +3313,12 @@
compatibility.prvD(event);
compatibility.stpP(event);
}
}).hover(function() { //make sure both scrollbars will stay visible if one scrollbar is hovered if autoHide is "scroll".
}).on('mouseenter', function() { //make sure both scrollbars will stay visible if one scrollbar is hovered if autoHide is "scroll".
if (_scrollbarsAutoHideScroll || _scrollbarsAutoHideMove) {
_scrollbarsAutoHideFlagScrollAndHovered = true;
refreshScrollbarsAutoHide(true);
}
}, function() {
}).on('mouseleave', function() {
if (_scrollbarsAutoHideScroll || _scrollbarsAutoHideMove) {
_scrollbarsAutoHideFlagScrollAndHovered = false;
refreshScrollbarsAutoHide(false);