Fix bug: show users menu when comment is at the top of page (& small browser height)

This commit is contained in:
Julia Radzhabova 2019-06-26 15:06:26 +03:00
parent f19597a9cb
commit 3f985b6622

View file

@ -130,7 +130,7 @@ define([
minHeight: '', minHeight: '',
overflow: 'hidden', overflow: 'hidden',
position: 'absolute', position: 'absolute',
zIndex: '1001' zIndex: '990'
}); });
var body = window.find('.body'); var body = window.find('.body');
@ -479,6 +479,9 @@ define([
}); });
}).on('show:after', function () { }).on('show:after', function () {
this.scroller.update({alwaysVisibleY: true}); this.scroller.update({alwaysVisibleY: true});
me.$window.css({zIndex: '1001'});
}).on('hide:after', function () {
me.$window.css({zIndex: '990'});
}); });
me.on({ me.on({