[PE] Fix Bug 35440.

This commit is contained in:
Julia Radzhabova 2017-09-19 13:14:16 +03:00
parent 405fe55461
commit 2d887a4a82

View file

@ -276,14 +276,17 @@ define([
var me = this;
var controls = $(this.el).find('.preview-controls');
controls.css('display', 'none');
me.$el.css('cursor', 'none');
setTimeout(function(){
me.$el.on('mousemove', function() {
clearTimeout(me.timerMove);
controls.css('display', '');
me.$el.css('cursor', '');
if (!controls.hasClass('over'))
me.timerMove = setTimeout(function () {
controls.css('display', 'none');
me.$el.css('cursor', 'none');
}, 3000);
});